Jump to content


Photo

unique ip hit counter help displaying result in html


  • Please log in to reply
2 replies to this topic

#1 zarfan

zarfan
  • New Members
  • Pip
  • Newbie
  • 3 posts

Posted 05 August 2006 - 07:48 PM

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

#2 redarrow

redarrow
  • Members
  • PipPipPip
  • Advanced Member
  • 7,308 posts
  • Locationlondon

Posted 05 August 2006 - 07:58 PM

if you use html you gotto still use the exstention of php

example

test.php
<?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>




Wish i new all about php DAM i will have to learn
((EMAIL CODE THAT WORKS))
http://simpleforum.ath.cx/mail2.inc
((PAYPAL INTEGRATION THAT WORKS))
http://simpleforum.a...aypal1_info.inc

#3 ronverdonk

ronverdonk
  • Members
  • PipPipPip
  • Advanced Member
  • 277 posts
  • LocationNetherlands

Posted 05 August 2006 - 08:04 PM

Look at the www.phpclasses.org website and search for counter. One of those classes is http://www.phpclasse...ckage/2967.html

RTFM is an almost extinct art form, it should be subsidized.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users