Archive for the ‘Computing’ Category.

Interesting statistics …

Statistics

You can now watch the battle between Microsoft and Netscape, by looking at my stats-pages. Down at the bottom, there is a table called “Top xx of xx Total User Agents”. Thanks to the superb Webalizers fully-documented configuration-file I’ve been able to group all the different versions of Microsofts and Netscapes browsers. This gives a clear picture of what’s going on.

And yes … I do know that “There are lies, dammed lies and statistics!” :-)

PHP Shell version 1.4

In case you downloaded the first version, then you properly noticed that the links to the parent directories of the current working directory didn’t work. They all pointed to shell.php — that was my working title, but I forgot to update the links as i switched to the name phpshell.php.

You can see the version of your file by looking for a timestamp in phpshell.php. It should say 1.4.

First version of PHP Shell released!

I’ve just released PHP Shell, a script I made in my efforts to get Webalizer to compile. By using the script, you will be able to execute aribitary commands on your webserver. You are only limited by the rights of the user the webserver is running as. This makes it very powerful/dangerous. Use it at your own risk :-)

Of cause it’s released under the GPL, so feel free to take it and make it even more useful. Just remember to give me credit.

The stats are working

Statistics

You can now take a look at the stats for my site. After trying to compile Webalizer on the server for three days, I decided that it would be much simpler id I just retrieved the log with ncftpget, parsed it on my own machine and generated the output, and then uploaded it again with ncftpput. So I put all this into a cron-script and I made it work in only 20 minutes. The cron-script is run once a day.

Stats for gimpster.com

Statistics

I’m working on a stats-page for my site. It is working right now at my home-machine. I’m not sure how I’ll manage to get it running on the remote server — perhaps I’ll have to do a ./configure && make in a PHP. It can be done, but I’ll rather have some shell-access.

I’m using Webalizer to generate the statistics. I first tried Analog but I didn’t get to compile. The output from Webalizer also looks better in my opinion.