Reputation: 30197
function url_exists($url) { $return = false; $content=@file_get_contents($url, FALSE, NULL, 0, 20); if($content == false ) { $return = false; } else if (count($content)
How to modify this function to check on content on https URLS as well. This is currently not able to check existense of file there.
Upvotes: 0
Views: 301