le 18/09/2008 à 14:15
file_exists
$filename = 'http://servername/medias/logo.gif';
$dataFile = @fopen( $filename, "r" );
if ( $dataFile ){
echo "The file exists";
@fclose($filename);
}else{
echo "The file dnt exist";
}
$dataFile = @fopen( $filename, "r" );
if ( $dataFile ){
echo "The file exists";
@fclose($filename);
}else{
echo "The file dnt exist";
}