I was having problems with the file_exists when using urls, so I made this function:
<?php
function file_exists_2($filePath)
{
return ($ch = curl_init($filePath)) ? @curl_close($ch) || true : false;
}
?>
Cheers!
I was having problems with the file_exists when using urls, so I made this function:
<?php
function file_exists_2($filePath)
{
return ($ch = curl_init($filePath)) ? @curl_close($ch) || true : false;
}
?>
Cheers!