Bring Your Web Site to Life With PHP
By Shelley Lowery
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.
Note: To enable the code to display properly, a period has
been added following the opening bracket. You’ll need to
remove this period prior to using the code.
<.?
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
Related Posts - 301 redirecting your web sites main page So all of a sudden you realise Google is indexing your site as two different websites. The www.mysite.com version and the mysite.com version. This is something you definatley need to change and here we are going to show you how. In order to fix this problem you need to do what......
- Google Caffeine is set to go live Almost 3 months ago Google announced a major change in it's search infrastructure dubbed "Caffeine". Now finally today it seems hat the giant has finally spoke again after months of silence about Google's Caffeine announcement. First we will look at the original announcement. Here was the official post......
- Internet Marketing - Why 2010 Will Be A White Knuckle Ride For Web Marketers. Internet Marketing - Why 2010 Will Be A White Knuckle Ride For Web Marketers Copyright © 2009 Titus Hoskins Next year may just prove to be one of the most challenging times for pursuing online or Internet marketing on the web. It may just be a watershed moment for many......
- The Advantages And Disadvantages Of Using Twitter Hashtags The Advantages And Disadvantages Of Using Twitter Hashtags Twitter is a free social networking and micro-blogging service that was originally launched in March of 2006 and has since grown into a real-time short messaging service that works over multiple networks and devices. Twitter enables users to stay in touch and......
- Success in an online business requires one thing - Traffic! Success in an online business requires one thing - Traffic! True and this applies to all other types of businesses as well. The success of any business depends on the number, and quality of the customers we are able to generate. The only difference in an online business is......
Related Websites - Increase Traffic to Blog, pt1 This is part one in a three part series dedicated to increasing traffic to your blog in a number of different ways. Now that you...
- Three Essential Windows Mobile Applications Suddenly, the mobile phone industry is inundated with operating systems: iPhone OS, Google Android, Palm WebOS, Symbian, Maemo, BlackBerry, Samsung Bada, and of course, Windows...
- Seven Tips for Securing Your Organization's Network from Spam and Email Viruses Providing security against email related threats has become a burden for most IT professionals in 2006. According to a recent study by Postini, spam and...
- Some tips to think about when deciding to have a web site built Judith Palfrey is a professional web site developer for 14 years and has developed some special websites to help small businesses advertise in their local...
- Add Latest Golf Posts To Your Website Apparently this has ability has been built into wordpress for quite some time but a friend of mine recently pointed up that it can be...
Categories: