Jump to content

Archived

This topic is now archived and is closed to further replies.

zarfan

unique ip hit counter help displaying result in html

Recommended Posts

Hi,

is there anyway i can get a unique ip hit counter onto my index.html and make it run a counter.php script and then display the result back in index.html



thanks

Share this post


Link to post
Share on other sites
if you use html you gotto still use the exstention of php

example

test.php
[code]
<?php

// turn php on <?php stop php ?>
$name="redarrow";

// start html afther php is off ?>
?>
<html>
<head>
<title>test page</test>
<body>
<table>
<td>
my name is <?php echo $name // echo $name with php on<? and off ?> ?>
</td>
</table>
</body>
</html>
[/code]



Share this post


Link to post
Share on other sites
Look at the www.phpclasses.org website and search for counter. One of those classes is [url=http://www.phpclasses.org/browse/package/2967.html]http://www.phpclasses.org/browse/package/2967.html[/url]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.