|
[1] DOWNLOAD THE CURRENT FIND-A-POP SCRIPT
This script is written in PHP and has only been tested using PHP4 on a Linux environment. While the script will likely work on any server with PHP4 we cannot guarantee functionality.
Once you save the file to disk you will need a utility capable of decompressing a .TAR file, Most Linux distribution come with them pre-installed.
The best thing about this script is that it is completely Plug and Play, however you will probably want to complete Steps 2 & 3 (below) to customize the script for your site. However if you want to just get it online than all you will need to do is "Un-Tar" the file in the server directory of your choice and link to it from somewhere on your site.
[2] THE HTML QUERY FORM (OPTIONAL)
The next step is to open the popfind.php file and edit the commented lines at the top.
Popfind HTML Query Form
The Popfind script includes an input form by default, however you may elect to hard code the form into your website.
This script generates a form that similar to this:
[3] CUSTOMIZE THE HTML OUTPUT (OPTIONAL)
While the these programs can run without headers & footers being defined, you customers will only see the default, non-branded tools. By defining your site's headers and footers you can totally customize the output that is displayed to your website visitors.
One of the features of the programs is that the html output can be completely customized to match the rest of your site. This is done without the need to make any changes to the script itself.
The way it works is very simple. The script will look for two files located in the same directory as itself. These files should be named head.tmpl and foot.tmpl.
The program will read the head.tmpl file and display it's entire contents as the first thing it does. The next output is a simple HTML table containing the local access number, followed by a disclaimer. The program then reads the foot.tmpl file and displays it's entire contents.
At a minimum the head.tmpl should contain:
<html>
<head>
<title>Your Title Here</title>
</head>
<body>
The foot.tmpl should contain at a minimum:
</body>
</html>
|