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" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 無?
> 個code 來自台灣書的example
> 有冇可以solve?
>
> Cjd 寫入:
>
> > PHP probably does not have write access to the disk.
> >
> > "Clock" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > 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
> > >
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to