[PHP] R: [PHP] fopen to check if file exists

2001-12-08 Thread moe
> > 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 usin

Re: [PHP] fopen to check if file exists

2001-12-08 Thread Valentin V. Petruchek
pens if there is no image 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: > &

[PHP] fopen to check if file exists

2001-12-08 Thread moe
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 try