Re: Creating files with PHP - need help
| From: | Aidal | Date: | Wed, 09 Oct 2002 10:32:05 +0000 |
| Subject: | Re: Creating files with PHP - need help | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16277@lists.php.net to get a copy of this message | ||
Dona that \\nef\\articles makes no difference.
"Toby z" <blue_myth_1@yahoo.com> wrote in message
news:20021009100212.91642.qmail@web20809.mail.yahoo.com...
> or u could add an other \ to tha path
>
> "c:\\name.txt", "wb"
>
> luck ....
>
> toby
>
> --- Luis Moreira <lamoreira@bes.pt> wrote: > When you
> refer to a ROOT; to create a file, you are
> > not referring to the MACHINE's root, but to the FILE
> > SYSTEM ROOT.
> > That is why the file goes to HTDOCS.
> > Try creating the file using an ABSOLUTE PATH, e.g
> > "c:\Docs\example-dir\54.txt"
> >
> > Regards,
> > Luis
> >
> > ----- Original Message -----
> > From: "Sviss" <sviss@nospam.dk>
> > To: <php-windows@lists.php.net>
> > Sent: Tuesday, October 08, 2002 9:46 PM
> > Subject: [PHP-WIN] Creating files with PHP - need
> > help
> >
> >
> > > Hi NG.
> > >
> > > I'm having problems creating files at a certain
> > location.
> > > If I attemt to create a file it gets created in
> > the rootdir (htdocs) even
> > > though I add a path infront of the file name. I've
> > tried severel ways of
> > > adding a path but nothing works.
> > >
> > > eksample: "/nef/articles/54.txt"
> > >
> > > File 54.txt gets created but not at the intented
> > location, instead it gets
> > > created in htdocs.
> > >
> > > Can anyone help me by telling me how I'm suppose
> > to do this?
> > > I'm running PHP on Win98 with Apache.
> > >
> > > ~ Sviss
> > >
> > >
> > >
> > >
> > > --
> > > PHP Windows Mailing List (http://www.php.net/)
> > > To unsubscribe, visit:
> > http://www.php.net/unsub.php
> > >
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com