I am using this function:
function isAfile($url){
$fp = @fopen($url,r);
if ($fp)
{ //print The file exists!;
return 1; }
else
{ //print The file does not exist;
return 0; }
}
to check if a remote file exists... now the problem is that the URL's i am
trying to
Zliy PEs, http://www.zliypes.com.ua
- Original Message -
From: moe [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 08, 2001 1:48 PM
Subject: [PHP] fopen to check if file exists
I am using this function:
function isAfile($url){
$fp = @fopen($url,r);
if ($fp
[EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 08, 2001 1:48 PM
Subject: [PHP] fopen to check if file exists
I am using this function:
function isAfile($url){
$fp = @fopen($url,r);
if ($fp)
{ //print The file exists!;
return 1; }
else
3 matches
Mail list logo