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

2001-10-29 Thread Dave Létourneau
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

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

2001-10-28 Thread Dave Létourneau
I only fopen my file once... My program checks if there is a specific session cookie. If not (it's a new user that browse the site) I set a cookie and try to store the unique ID of this user (other cookie) in a file with a timestamp to track which user came and when (+ nb of times...). That's w

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

2001-10-28 Thread Dave Létourneau
d technique but it's very frustrating. I tried with 2 different FTP servers where I have all the necessary rights. Is it possible to solve this problem or it's a feature in PHP? Dave Létourneau [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe,