note 40760 deleted from function.file-exists by nlopess

From: Date: Sat, 13 Mar 2004 21:26:03 +0000
Subject: note 40760 deleted from function.file-exists by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66777@lists.php.net to get a copy of this message
Note Submitter: TheUglyMan@gmx.net ---- When I run the "remote_file_exists" script with the same URL (the gif at google.it) it works, if I change the filename (like logonotthere.gif) it still works ("doesn't exist") BUT when I change the original URL to www.google.wtf/... (just change "it" to "wtf") then it says "file exists". The same with any other file/domain I tried. Even with filenames on my own domain it says that the file exists, even though that's not the case....weird, isn't it? I really needed a script that adds a link if the domain/file exists, or add no link if there's something wrong with the remote address (temporarily offline or so)...well, can't have everything...

« previous php.notes (#66777) next »