Reply to Is URL for a big file valid? (sorry put bif first time)

Your name:

Reply:


Posted by mindwarp on 07/15/06 19:42

Hi,

I've been struggling with this for hours over a few days.
I just can't find a solution.
I've tried fsocket, file, fopen.
But all seem to have problems.

I'm trying to quickly validate whether a file exists.
It could be a big file, maybe 200mb.

fopen and file, try to read the whole file.

fsockets with fputs($gh, "HEAD $hpath HTTP/1.0\n\n");
Doesn't like files in sub directories.

Can anyone help me?
Please.

I'd be grateful for code snippits as I've tried modifying lots of code
I found on forums and newsgroups without success.

Jules.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация