Re: text file question thanks
| From: | CJD | Date: | Thu, 20 Sep 2001 23:51:24 +0000 |
| Subject: | Re: text file question thanks | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9438@lists.php.net to get a copy of this message | ||
The use that PHP runs as may not have security permissions to the
file/directory you are trying to write to. This is standard for a large
number od ISPs and I think it is also the case when safe_mode_on is set in
the php.ini file. Check the security rights for the PHP user (most likely
the same user as the webserver) and what rights it has.
"Clock" <SythesH@netscape.net> wrote in message
news:3BA9932F.91D74203@netscape.net...
> µL?
> Ócode ¨Ó¦Û¥xÆW®Ñªºexample
> ¦³ÉN¥i¥Hsolve?
>
> Cjd ¼g¤J¡G
>
> > PHP probably does not have write access to the disk.
> >
> > "Clock" <SythesH@netscape.net> wrote in message
> > news:3BA8AB4B.D224D039@netscape.net...
> > > hi
> > > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> > >
> > > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> > >
> > > Warning: fopen("9-02_counter.txt","w") - Permission denied in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 20
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 21
> > >
> > > Warning: Supplied argument is not a valid File-Handle resource in
> > > c:\inetpub\wwwroot\9-02_pcounter.php on line 22
> > >
> > > what problem!?
> > > need to download sth!?
> > > or how to solve!?
> > > thanks
> > >
>