Re: Newbie Q plz help

From: Date: Sat, 14 Sep 2002 07:09:36 +0000
Subject: Re: Newbie Q plz help
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15802@lists.php.net to get a copy of this message
Have you checked the permissions on data.txt? I'm guessing your server doesn't have permissions to read that file in Win2k. Win98 has no file security whatsoever. What server are you using? I know IIS uses the IUSR_computername account or something similar, while Apache uses what ever it is defined in the services control panel (I should know this better... I use apache in win2k all the darn time). -shad "I am convinced that the manufacturers of carpet odor removing powder have included encapsulated time released cat urine in their products. This technology must be what prevented its distribution during my mom's reign. My carpet smells like piss, and I don't have a cat. Better go by some more." -- timw@zeb.USWest.COM On Sat, 14 Sep 2002, Joe Sze @ HK wrote: > i'm using Win 2000 professional > > my code > <?php > echo "Hello World"; > $fp = fopen("data.txt" 'rb+'); > $fp = fclose("data.txt", 'r'); > ?> > > i've found that i cannot call fopen() in win2000, > but under the same configuration in win98, it is no problem, can ne1 help, > thx in advance > > > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.windows (#15802) next »