Web Design

Bring Your Web Site to Life With PHP

PHP: Hypertext Preprocessor, better known as PHP, is a highly popular, server-side scripting language that can be embedded directly into HTML coding.

PHP can do anything that CGI can do, such as process form data and auto generate dynamic content, but PHP can do much more.

It can be used on all major operating systems and supports most web servers.

PHP is used by inserting PHP code inside your web page's HTML code. When the page is called, your server automatically executes the code. What's more, your visitors don't need any special plug-ins for the code to run, as it will be displayed just like your HTML coding.

As PHP is a server-side scripting language, although your visitors will not need to install any new software, PHP must be set up on your server.

Following is a very simple script that will test your server to ensure PHP is installed. It is a standard PHP function called phpinfo, which instructs the browser to print out information in regard to the set up of your server.

To use the script, simply copy the following three lines of code and paste them into a plain text editor, such as Note Pad.

<?
phpinfo();
?>

Save the file as phpinfo.php and upload it to your server where you store your HTML files.

To run the script, simply point your browser to the script address. It should look something like this: http://www.yourdomain.com/phpinfo.php

If PHP is installed on your server, you will be presented with a page of information about the PHP installed on your server.

If PHP isn't installed, you will be prompted to download the file. In this case, you'll need to contact your web host and ask them to install it, as it is free to download and install.

You can learn more about PHP and download it at http://www.PHP.net.

If you'd like to try some PHP scripts on your site, here are some great scripts to get you started:

PhpAdsNew - Rotating Ads
http://phpadsnew.com/two/

If you'd like to have a rotating ad system on your web site, this great script is an open-source ad server that provides a professional ad management and tracking system. Not only can you rotate banner ads, but you can also rotate buttons, pop-ups, text ads, DHTML banners and much more.

PHP Message/Quote of the Day
http://www.interaction-design.org/scripts/quote_of_the_day/

If you're looking for a simple way to display a "Quote of the Day," this script is for you. It consists of a simple script that's easy to customize. You simply add any number of quotes, tips or whatever you'd like, into the database and the script will display a new message each day.

BMachine - Blogging
http://boastology.com/

Would you like to start your own blog? This script will enable you to do just that. It's loaded with features, including calendar, file attachments, event display, unlimited categories, IP blocking, referrer tracking, search and much more.

Clicks Counter Pro - Link Tracking
http://www.clicks-counter-pro.com/

Testing and tracking your marketing strategies is an important part of doing business. Clicks Counter Pro is a PHP script that will enable you to track your clicks, downloads and advertising campaigns with real time statistics. Very reasonably priced.

Link Department - Link Indexing
http://www.hitcode.com/products/linkdept/

If you've ever wanted an easy way to set up a link indexing system on your site, this script may be your answer. Link Department will enable you to easily create and maintain a link directory. The system is fully manageable and completely template driven, so it will easily blend in with your existing design.

PhpDig - Search Utility
http://www.phpdig.net/

If you would like to enable your visitors to search your site, PhpDig is a web spider and search engine utility you can install on your web site. This powerful script indexes your pages and builds a glossary of keywords found in the page.

PhpBB - Bulletin Board
http://www.phpbb.com/

PhpBB is a fast and efficient, highly customizable, open- source bulletin board system. This highly professional looking system will enable you to create an interactive community on your web site and keep your visitors coming back again and again.

To learn more about PHP, visit the following web sites:
http://www.alt-php-faq.org/
http://www.hotscripts.com/PHP/

To find more PHP scripts, visit the following web sites:
http://www.hotscripts.com/PHP/Scripts_and_Programs/index.html
http://php.resourceindex.com/Complete_Scripts/

PHP is a freely distributed open-source language, which means if you would like to learn the language, there is a wealth of information available on the Internet to assist you. Why not give it a try? You may be surprised how easy it really is to write your own scripts.

Copyright Shelley Lowery

About the Author:

Shelley Lowery is the author of the acclaimed web design course, Web Design Mastery. http://www.webdesignmastery.com And, eBook Starter -- Give your ebooks the look and feel of a REAL book. http://www.ebookstarter.com Visit Web-Source.net to sign up for a complimentary subscription to Etips and receive a copy of Shelley's acclaimed ebook, "Killer Internet Marketing Strategies." http://www.web-source.net

See more from Web Design


Other Pages You Might Enjoy...

The Meissen Porcelain Manufactory
For more than 300 years the Meissen Porcelain Manufactory has been a central figure in European porcelain. It was at Meissen that the first true hard-paste porcelain was manufactured outside of China, and the story of that accomplishment has the high drama of fiction - all the more intriguing because it is true.

Pirated Glassware that Collectors Want to Own
The 1996 discovery of what is believed to be the wreckage of Blackbeard’s ship Queen Anne’s Revenge, is providing historians and collectors new information about the fragile and transparent objects that came onto the North American Continent before arrival of the first piece of cut glass.

Collecting Antique Furniture
Of all the collectible antiques, the broad category of furniture is perhaps the most widely held and most satisfying. Frequently handed down through generations, the various chairs, tables, cabinets and other pieces are often in use, adding character and constancy to our daily lives. This guide includes an overview of the significant styles and historical periods, and other important information for collectors.

Collecting Antique Clocks and Watches
Information for collectors of antique clocks and watches. Includes a history of clock and watchmaking, an overview of styles, and important terminology.

Collecting Antique Jewelry
Embodying the wealth and treasure of bygone days, the antique jewelry pieces available today include some of the world's most valuable artifacts. Includes a history of jewelry making, an overview of the major historical periods, and a glossary of antique jewelry terminology.

Javascript Chatterbot Workshop
Home of the Do It Yourself Chatterbot Project. Has a ready to go chatterbot shell and full instructions on how to program it.

Recent Progress in Computer Vision May Have Been Overstated
Flaws in the tests scientists use to evaluate a computer's ability to recognize objects visually may have led to overly optimistic reports of progress in the challenging field of computer vision. A new MIT study posits that these tests inadvertently favor the computer.

London Is Great Destination for Music Fans
London's nightlife makes it a top destination for rock fans and pop music historians. From the crosswalk at Abbey Road to the venerable Royal Albert Hall, Great Britain is the place to go to see some of pop culture's most significant landmarks.

Expert Cautions Against Reverse Mortgages
Aging baby boomers are being aggressively marketed for long-term care insurance funded by reverse mortgages. Lawyer Frank Darras says beware. Betting your house on an insurance policy can backfire and leave you with nothing, he says.

Update Your Navigation and Other Content Automatically with JavaScript
Learn to use this simple JavaScript technique to change content and make instant updates across your entire site. Whether you update five pages or thousands, this handy web tip is a must read!


The MiFio Network

Visit cache.MiFio.com for more pages about business, technology, programming, home, travel and more.

Visit www.MiFio.com the website dedicated to antiques and collectibles.