Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Web Design
Web Design [message #131836] Tue, 11 January 2005 19:17 Go to previous messageGo to previous message
Sunwise is currently offline  Sunwise
Messages: 8
Registered: January 2005
Location: UK
Karma:
Recruit
i build web sites for a living for small companys. If you need any help with php or hosting services then give me a pm. I wont make the whole site tho as I am a bit busy at the mo but to get you started heres a simple yet easy PHP counter Laughing

Quote:

#Script needs countlog.txt with read and write permisions (666 FTP code)
<?php
$datei = fopen("countlog.txt","r");
$count = fgets($datei,1000);
fclose($datei);
$count=$count + 1 ; // add one more to the count
echo "<font size='4'>$count have visted this site.</font>" ;
$datei = fopen("countlog.txt","w"); // opens to write and deletes the old count
fwrite($datei, $count);
fclose($datei);
?>

You just need to add the rest of the site now Wink or it could look a bit boring :rolleyes: . But I supose you know alot a of coding n e ways.

Sunwise
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ...Woah..
Next Topic: a little bit bored :-)
Goto Forum:
  


Current Time: Sun Dec 01 16:33:27 MST 2024

Total time taken to generate the page: 0.01607 seconds