unless that file you're writing to is on a different server, just put the
relative location to the file. ie: ./guestbook.txt

if this doesn't work I have nothing to offer you. :-\
----- Original Message -----
From: "Joeri Vankelst" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 22, 2001 7:43 AM
Subject: [PHP] writing to file on server


> Hi,
>
> I've just started working with PHP. I've made a guest book using PHP
> (nothing spectacular) that worked just fine when I tested it op my pc, but
> when I uploaded it, it stopped working.
> My specific problem is that I cannot write to a file that already exists
and
> contains data. When I try to I get these warnings:
>
>     Warning: File already exists
>     Warning: fopen("ftp:[EMAIL PROTECTED]/guestbook.txt","a";) - File
> exists
>
> Is this problem related to the FTP fopen? And is there a way to correct
this
> problem?
>
> Tnx!
> Joeri Vankelst
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to