check if a URI exists?
- by noname
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.