Re: Problem appending data in a file with fopen("ftp://...","a")

From: Date: Mon, 29 Oct 2001 17:06:17 +0000
Subject: Re: Problem appending data in a file with fopen("ftp://...","a")
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-72744@lists.php.net to get a copy of this message
I got the same error message when i opened it with "w"... A append operation opens the file in r/w? I'm not sure... I though it needed a "+" : a+, w+... anyway, I think I'm gonna use a database (mysql) and it will be easy to to what I need but this problem is very strange. Thanks! > Aha -- I understand. I also didn't see the first time that you're using FTP. > You can't fopen() a file for read/write through FTP. You can do one, or the > other, but not both. > > http://www.php.net/manual/en/function.fopen.php

« previous php.general (#72744) next »