 |
 |
Server Side Scripting
The latest technology to make websites more powerful and dynamic is server
side scripting. There are many different forms and languages used such
as Perl, ASP, PHP, and JSP. Although I don't have extensive experience
in all of these languages, I have a strong background in programming which
allows me to pick up new languages very quickly. For simple projects I
can use Perl to develop a solution. However, for more complex database
driven applications, I use PHP.
With both Perl and PHP, I can design powerful search engines, page
hit counters, dynamic content using text files or simple databases,
and backend applications to make updating your website fast and
easy.
Here are some example scripts free for downloading:
- PHP Hit Counter ~ Include
this in a php file and it will keep track of the number of visitors
using a text file. Visitors will only be counted once per session
by using a cookie.
- PHP Last Modified ~
Add this simple line to the bottom of your php page and never
worry about updating the date you last modified the file.
- PHP Redirect ~
This script is intended to be used as an apache 404 error page. When an html
document is not found, it will try to find the same document with the php
extension, otherwise it will redirect the user to your home page. Save this script
as redirect.php and create a file called ".htaccess" in your root directory with the
following line: "ErrorDocument 404 /redirect.php". Any time a user requests a missing
file it should redirect them appropriately.
|
 |
 |