Re: Creating files with PHP - need help

From: Date: Wed, 09 Oct 2002 12:41:24 +0000
Subject: Re: Creating files with PHP - need help
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-16282@lists.php.net to get a copy of this message
Well, as far is i know both have more options concerning permitions, both have an admin etc. so there may be a slight difference in how this works on your vs. my system, I don't know for sure though. Anyway, it wasn't the idea to turn this into a discussion about file systems. You gave your advice and I'm thankful :) though it didn't solve my problem. "Toby z" <blue_myth_1@yahoo.com> wrote in message news:20021009123218.25697.qmail@web20806.mail.yahoo.com... > win xp AND 2000 pro > > --- Aidal <aidal@nospam.dk> wrote: > Are you working > on a UNIX/Linux box? > > It might make a difference due to the difference on > > file systems etc. > > I'm working with Win98 at the moment. > > > > > > "Toby z" <blue_myth_1@yahoo.com> wrote in message > > > news:20021009104026.62678.qmail@web20802.mail.yahoo.com... > > > well aidal > > > for me it did it just WOULDN create the file > > otherwise > > > :$ :| > > > > > > toby > > > > > > --- Aidal <aidal@nospam.dk> wrote: > 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 > > > > > > > > > > > > > > > > -- > > > > 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 > > > > > > > > -- > > 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

« previous php.windows (#16282) next »