check if a URI exists?

Posted by noname on Stack Overflow See other posts from Stack Overflow or by noname
Published on 2010-03-12T15:33:20Z Indexed on 2010/03/12 16:57 UTC
Read the original article Hit count: 119

Filed under:

How do I check if a URI exists with PHP?

I guess it will return an error code and I can check it before I use file_get_contents, because if I use file_get_contents on a link that doesn't exist, it gives me an error.

© Stack Overflow or respective owner

Related posts about php