I'm kinda new to PHP and have the following problem: In a function, I want
to verify whether a
file exists before I go on, and if it doesn´t, return false and stop right
there. So I tried

if(!file_exists($my_file)) {
return false;

But since $my_file is a URL, it doesn´t work. Does anybody know how to do
this so it works with URLs, i.e. w/o using file_exists() ?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to