PHP

PHP stands for 'PHP:Hypertext Preprocessor'. It creates web pages which are dynamically created when somebody sends a request for that page to the server. The server uses the script to generate HTML which is then sent to the users browser for display. This means that if any content is changed then the page must be reloaded for the user to see.

Phpindex

This neat little script helps you create an alphabetically catagorised index. Perfect for those sites with a hard to manage index. The script allows seamless integration into your styled website with just one line of php needed to include the index. An easy to use control panel allows you to add new items using a form system and edit existing items in the same way. The script lets you choose html/xhtml compliency. Works with a MySql database.

Download the script

My Forum

A while ago I had a go at making a small forum script. I have abandoned it for now since it was a bit buggy and not very well coded. If you want to get hold of the source just use the contact form and I will email it too you. Like I said it is very buggy which is why I haven't put it up for a download so it may not really be any good.

A simple php script

This is a very simple php script which will just return some information about how php is set up on your server.
<?php phpinfo() ?>
Just save this as a .php file onto your server and type in its url. As you can see this one function returns a lot of data about which versions etc are installed.

Compressing your websites content using mod_gzip

This only works with apache server. Mod_gzip is a module which compresses a web pages content before it sends it to the browser. When the content reaches the browser the browser uncompresses it and displays it like usual. The benefits of this is that it saves bandwidth because smaller files are being sent and also the page it loaded faster for the user.

To use this with a php page you simply include this code at the very start:
<?php ob_start("ob_gzhandler"); ?>
Make sure that you put it before anything on the webpage (including new lines and spaces).

© Jonathan Waller 2005; QuantumState Visual Basic