Re: Why does it stop working?

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

 



pine oil wrote:
On 2/22/06, Chris <dmagick@xxxxxxxxx> wrote:

pine oil wrote:

I've used the following counter for some time, but I don't seem to
have it work now after I have moved the directory of the files.

They used to be in /var/www/html, but moved to /home/webroot/test.

Do you think the relocation of the files has something to do with my problem?

It could be a permissions thing (it can't read/write the counter.txt file).

If you could narrow down what's going wrong a bit it'd help.

View the counter only in your browser - does that give an error?


I changed the permission to read/write for the owner and group. That
did not help.

I am sorry I don't know how to view the counter in my browswer. The
counter did not show if I open the index.php when I access the page
through the apache server.

<img src="counter.php" />

Instead of going to index.php, go to counter.php

That will run just the counter script and (hopefully) show an error.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux