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

Threaded View
I want to use from another website.
Before I want to check if the file exist

I tried  (file_exist("http://www.xx.yy/path/file.jpg"))
but that is not allowed

Also tried linkinfo("http://www.xx.yy/path/file.jpg")
but, however some files do not exist all the results are True (-1)
Thate could be correct because the path exists, the file doesn't.

Anyone knows how to check this


Re: links

Well im usualy doing like this:
Lets say i want file
Im allways downloading it to my server couse later it could be not
available anymore from google. So its like a protection.

bool copy ("", "downloads/hp0.gif"
Returns TRUE on success or FALSE on failure.

Site Timeline