Not until 4.3. On Mon, 6 May 2002, Jonathan Rosenberg wrote:
> Does fopen() actually work for https connections? I thought this > implementation was not yet released. > > > -----Original Message----- > > From: Austin Marshall [mailto:[EMAIL PROTECTED]] > > Sent: Monday, May 06, 2002 9:40 PM > > To: Craig Westerman > > Cc: php-general-list > > Subject: Re: [PHP] file_exists > > > > > > Craig Westerman wrote: > > > I found my problem. > > Try fopen() if it fails it will return false, > > otherwise it will return > > an integer file pointer. You get use it to fetch > > files via http://, > > https://, ftp://, and more. > > > > > > > > From manual: > > > "file_exists() will not work on remote files; the > > file to be examined must > > > be accessible via the server's filesystem. " > > > > > > File is on another server. Is there a way to check > > if file exists on another > > > server? > > > > > > Craig ><> > > > [EMAIL PROTECTED] > > > > > > > > > -----Original Message----- > > > From: Craig Westerman [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, May 06, 2002 7:58 PM > > > To: php-general-list > > > Subject: [PHP] file_exists > > > > > > > > > What am I doing wrong? I get parse error between > > first echo statement and > > > else. > > > > > > Thanks > > > > > > Craig ><> > > > [EMAIL PROTECTED] > > > > > > > > > <?php > > > $fn = "image.gif"; > > > if (!file_exists($fn)) { > > > echo "<img src=noimageexists.gif>"; > > > else > > > echo "<img src=$fn>"; > > > } > > > ?> > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php