Is URL for a bif file valid?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


I've been struggling with this for hours or 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 with 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?

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


Site Timeline