Published in: PHP
URL: http://us2.php.net/manual/en/function.file-exists.php#84918
function url_exists($url) { $hdrs = @get_headers($url); }
You need to login to post a comment.
Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems
Wicked Cool PHP contains a wide variety of scripts to process credit cards, check the validity of email addresses, template HTML, and serve dynamic images and text.
bdhamilton on 10/07/08
5 people have marked this snippet as a favorite
basicmagic
davidsword
duniyadnd
ocool
wilburhimself
Published in: PHP
URL: http://us2.php.net/manual/en/function.file-exists.php#84918
function url_exists($url) { $hdrs = @get_headers($url); }
You need to login to post a comment.