note 2765 deleted from fopen by ronabop

From: Date: Thu, 10 Aug 2000 20:09:21 +0000
Subject: note 2765 deleted from fopen by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-899@lists.php.net to get a copy of this message
I am trying to update a file from our intranet that is stored on our external system. The following is reported. Warning: File already exists in /usr/www/htdocs/update.php3 on line 10 Warning: fopen("ftp://...@support.spacestar.net/netssi.html","a") - File exists in /usr/www/htdocs/update.php3 on line 10 Error opening file!' netssi.html' was unavailable The code is $news_file = fopen("ftp://user:pass@support.spacestar.net/netssi.html", "a"); I have it working locally with just the filename, but I need this to be posted on the external net. Any ideas?

« previous php.notes (#899) next »