Re: writing to file on server
| From: | Joeri Vankelst | Date: | Sun, 22 Apr 2001 20:56:04 +0000 |
| Subject: | Re: writing to file on server | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49760@lists.php.net to get a copy of this message | ||
But when I try using the path to the file I get denied permission ...
How can I use my password then? Or can I bypass that in some way?
""Plutarck"" <aemuli@spamclause-yahoo.com> wrote in message
news:9bupqt$b8s$1@toye.p.sourceforge.net...
> When you are using that on your site, what basically happens is that you
are
> trying to open an FTP session with yourself. Not too efficient.
>
> So just kill off the url and use the path to your file.
>
>
> --
> Plutarck
> Should be working on something...
> ...but forgot what it was.
>
>
> ""Joeri Vankelst"" <joeri.vankelst.nospam@softhome.net> wrote in
> message
> news:9bujcv$gtm$1@toye.p.sourceforge.net...
> > 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://...@ftp.myhost.com/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: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>