whats ip and hits code and current time
whats ip and hits code and current time
HitsOriginally Posted by Spinno-dude
whats ip and hits code and current time
PHP Code:<?php
$document = ("hitpage.txt");
$hits = file($document);
$hits[0] ++;
$fp = fopen($document , "w");
fputs($fp , "$hits[0]");
fclose($fp);
echo $hits[0];
?>
IP
TimePHP Code:<?php
echo "Ip : ".$_SERVER['HTTP_USER_AGENT']."" ;
(well you may want to confugure it differntly, see this page of the manual http://uk.php.net/date )
but just for an exsample
PHP Code:<?php
echo time(g : j ) ;
?>
lol i know i had a skin on my forum and i sorted it outOriginally Posted by WayHey™
Need help with your forum :pbut i deleted the wrong folder by accident :eusa_droo
i added my new layout yesterdayi think its quite good
www.xenigma.co.uk
*Image Removed
Ahemm.. How exactly was my sig innapropriate?
Goddamit i hate this forum :@
I RESIGN FROM GRAPHICS DESIGNER :@ :@ :@
Want to hide these adverts? Register an account for free!