this code here is in case you want to check if a file exists in another server:
<?php
function fileExists($path){
return (@fopen($path,"r")==true);
}
?>
unfortunately the file_exists can't reach remote servers, so I used the fopen function.
this code here is in case you want to check if a file exists in another server:
<?php
function fileExists($path){
return (@fopen($path,"r")==true);
}
?>
unfortunately the file_exists can't reach remote servers, so I used the fopen function.