Reply
PHP Script Modification
Old 10-15-2003, 06:07 PM PHP Script Modification
Novice Talker

Posts: 9
this is a counter script, i was wondering if anyone could modify it so that it logs daily hits into another text file or html page that displays how many hits youve gotten every day for the last 30 days.

<?
$countfile = file("count.txt");
$count=$countfile[0];
$count=$count+1;
$fp = fopen("count.txt","w");
$fw = fwrite($fp,$count);
fclose($fp);
echo $count;
?>
Slipknot CPD is offline
Reply With Quote
View Public Profile Visit Slipknot CPD's homepage!
 
When You Register, These Ads Go Away!
Reply     « Reply to PHP Script Modification
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10648 seconds with 12 queries