There’s a fantastic new site which has just gone live for singer/songwriter and man of many talents, Richard Couldrey. At present it’s hosted at the same place as faq-it, but it can be accessed at www.richardcouldrey.com
Richard will shortly be taking delivery of the mechanism which will allow him to update articles and post pictures from [...]
more... »
I was looking for a counter and found this, courtesy of the PHP Freaks:
<?php
//First create a file to store the hits. Make sure this file has write permission
$counternum = “counternum.txt”;
//Open the file and write the current hits plus one.
function displayCounter($counternum) {
$fp = fopen($counternum,rw);
$num = fgets($fp,9999);
fclose($fp);
$fp = fopen($counternum,w);
$num += 1;
print “$num”;
fputs($fp, $num);
fclose($fp);
}
//Display the Current Hits
displayCounter($counternum);
?>
more... »