Re: Creating files with PHP - need help
| From: | M.B. | Date: | Fri, 11 Oct 2002 22:44:06 +0000 |
| Subject: | Re: Creating files with PHP - need help | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16345@lists.php.net to get a copy of this message | ||
Whell, try using for the path:
your excample: "/nef/articles/54.txt"
my excample: "../nef/articles/54.txt"
"Sviss" <sviss@nospam.dk> schreef in bericht
news:20021008205802.56369.qmail@pb1.pair.com...
> 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
>
>
>