RE: [PHP] Newbie question: Page Counter

2001-04-20 Thread Marthe Kristiansen
then make a file called count.inc and chmod it to 777 so anyone can write to it. insert a number into the file. Hey! I tried to make this counter.php-file, that went ok, I think My problem is to make the count.inc-file, I could make it but I have no idea how to put "chmod" to "777" in it. The

RE: [PHP] Newbie question: Page Counter

2001-04-20 Thread Jack Dempsey
chmod is a *nix command. you do it to the file: chmod 777 counter.inc on the command line -jack -Original Message- From: Marthe Kristiansen [mailto:[EMAIL PROTECTED]] Sent: Friday, April 20, 2001 3:04 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Newbie question: Page Counter

RE: [PHP] Newbie question: Page Counter

2001-04-19 Thread Maxim Maletsky
make one yourself: a table with the data you want to store, on every hit you insert there info, including Unique Session ID. then use simple SQL queries to read your stats. also see http://www.phpbeginner.com/columns/McDonald/counter there's an idea for beginners on how else it could work..

Re: [PHP] Newbie question: Page Counter

2001-04-19 Thread Adam
make a file called counter.php and include this text: //-counter.php-- ---// ?php //Simple PHP counter, v0.1. Send comments to [EMAIL PROTECTED] if (file_exists('count.inc')) { $fil = fopen('count.inc', r); $dat =