Re: Incrementing counter from an HTML page.
| From: | Ciprian Trofin | Date: | Fri, 04 Jul 2003 14:01:04 +0000 |
| Subject: | Re: Incrementing counter from an HTML page. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153994@lists.php.net to get a copy of this message | ||
Suggestions:
1. use a picture for the counter (with the image - handling library)
2. use a javascript script :)
<script language="JavaScript" src="script.php">
this script will return the hit-counter in a variable that you can use.
Question: why no redirects ?
P> Glory!
P> The problem I am facing is that my Index page can be an HTML page only..
P> not PHP. I cant use framesets, redirects etcetera.
P> I want to build my own Counter using PHP & mySQL Database.. with the
P> "Users Online" and "Total Hits" feature.
P> How can I increment the counter or affect a PHP code using HTML.. is
P> there someway I can achieve this? To be able to show the php counter on
P> my HTML page.. ?
--
Ciprian
> Confucius Says: Man with hand in pocket is having a ball.