works on production server but not on localhost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hey guys..
just getting back in to using a little php.

have 2 simple hit counters that work fine on the production server.
but on my localhost it throughs several errors. looks like a permissions
thing?

i am not sure if there is a setting in my php.ini file that needs to be
tweaked.
kind of blind to the errors.

looks like a permissions thing?

hit counter: Warning: fopen("counterlog.txt", "w") - Permission denied in
C:\Inetpub\wwwroot\WCBE\counter.php on line 4 Warning: fwrite(): supplied
argument is not a valid File-Handle resource in
C:\Inetpub\wwwroot\WCBE\counter.php on line 5 Warning: fclose(): supplied
argument is not a valid File-Handle resource in
C:\Inetpub\wwwroot\WCBE\counter.php on line 6 12
hit counter2: 00001

Warning: fopen("FX_DataCounter/wcbecounter.txt", "r+") - Permission denied
in C:\Inetpub\wwwroot\WCBE\nav.php on line 19 Warning: fgets(): supplied
argument is not a valid File-Handle resource in
C:\Inetpub\wwwroot\WCBE\nav.php on line 20 Warning: Cannot send session
cookie - headers already sent by (output started at
C:\Inetpub\wwwroot\WCBE\nav.php:19) in C:\Inetpub\wwwroot\WCBE\nav.php on
line 21 Warning: Cannot send session cache limiter - headers already sent
(output started at C:\Inetpub\wwwroot\WCBE\nav.php:19) in
C:\Inetpub\wwwroot\WCBE\nav.php on line 21 Warning: fseek(): supplied
argument is not a valid File-Handle resource in
C:\Inetpub\wwwroot\WCBE\nav.php on line 23 Warning: flock(): supplied
argument is not a valid File-Handle resource in
C:\Inetpub\wwwroot\WCBE\nav.php on line 24 Warning: fputs(): supplied
argument is not a valid File-Handle resource in
C:\Inetpub\wwwroot\WCBE\nav.php on line 25 Warning: flock(): supplied
argument is not a valid File-Handle resource in
C:\Inetpub\wwwroot\WCBE\nav.php on line 26 Warning: fclose(): supplied
argument is not a valid File-Handle resource in
C:\Inetpub\wwwroot\WCBE\nav.php on line 27

any help would be great.
thanks
-paul

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux