If you ever want to create a state directory, article directory, dating site or link directory, you need to know about creating database driven web sites. This may seem like a daunting task at first, if you have never done it, however I was in the same boat as you. It is not as difficult as you think.
Benefits of building database driven web sites
-Store vast amounts of information about your products or services.
-Efficient data sorting and retrieval
-Complex queries and statistical analysis performed relatively easily
-Separate site design from site's content
-Create new pages on the fly without manually creating or editing new web pages
-Makes it easy for client to post content, update records without the need to know html or rely on a web developer.
-Advanced search capabilities
-Attract repeat visitors with fresh and constantly updated content.
-Update site information online without the need to upload web pages.
-Site maintenance greatly reduced.
-Enhance web interactivity
Requirements
MySQL - to retrieve information from a database, you first need to have a database. That's where MySQL comes in. MySQL is a relational database management system, or RDBMS. It's a software package that is very good at organizing and managing large amounts of information. MySQL also makes that information readily accessible by using a server-side scripting language like PHP.
PHP - this is a server-side scripting language. With PHP installed, your Web server will be able to read a new file (called a "PHP script") that can retrieve information instantly from a database and insert it into a web page before sending it to the browser that requested it. PHP is completely free to download and use.
Check with your current Web host. Make sure they have already installed MySQL and PHP on your Web server. Most web hosting companies already have it installed. If not find a web host that provides this service.
Steps to building a database driven web site:
You will be building a link directory site using a mySQL database and the WSN Links Script (a PHP script). Here's an example of the "Colorado Business Directory Site" that was built, based on following the 7 steps below:
http://www.hereiscolorado.com
1. Check that your web host has PHP 4.10+ (or PHP 5) and MySQL 3+ installed on the server.
2. To create the mySQL database on the web server:
-login to the cpanel of your server ie domainname/cpanel with your user name and password.
-click on 'MySQL Databases' icon.
-enter database name
-click 'add db'
-click on 'go back'
-under 'Users' enter user name and password for database
-click 'add user'
-click on 'go back'
-click on 'add user to database'
You should now get the reply that your database installation was successful.
3. Download the PHP script files to your desktop at: WSN links - http://www.isitebuild.com/cgi-bin/a/t.cgi?wsnlinks
4. Extract files from the ZIP folder and save them to a folder on your computer.
5. Upload all the extracted files to your hosting space
6. Set the correct permissions for your files.
7. To complete the installation and to customize the script, read the manual at:
http://www.isitebuild.com/cgi-bin/a/t.cgi?wsnlinks
You can continue to customize or edit your site online by accessing the admin panel within your web site.
Adding, sorting, retrieving, searching data, creating new pages, links etc can now easily be accomplished.
Congratulations!... you successfully have built yourself a database driven web site.
Herman Drost is the Certified Internet Webmaster (CIW) owner and author of http://www.isitebuild.com Affordable Web Site Design and Web Hosting. Subscribe to his "Marketing Tips" newsletter for more original articles. http://www.isitebuild.com. You can read more of his in-depth articles at: http://www.isitebuild.com
detailed home cleaning Park Ridge ..Dynamically Update Your Web Pages Via E-MailIf you can Send... Read More
The Internet has opened a whole New World of opportunity... Read More
I'm a freelance programmer and somehow I managed to get... Read More
People often come to me in a state of crisis... Read More
Are bloated images slowing down your web site and causing... Read More
Creatively marketing your corporate site takes time in the set... Read More
When you take a look at the most visited sites... Read More
cPanel is a control panel for your website and allows... Read More
Huge Mistake #1: Creating a Website with Flash -- Did... Read More
How can we add Word Rich Content to our Websites... Read More
Did you know that hosting companies overcrowd their servers despite... Read More
Have you ever thought the secret behind the success of... Read More
I recently received an unsolicited e-mail from some company offering... Read More
First, using a lot of web graphics, flash, banners and... Read More
Like wine cars get more attractive to collectors as years... Read More
In 1995 a new era of accessibility for disabled people... Read More
Any new website competing on the internet, needs to take... Read More
The popular search engine Google indexes over 8 billion websites.... Read More
Analyzing traffic to a site is a key factor in... Read More
Does My Web Site Require A Web Database?If your web... Read More
In this example I have used the map of the... Read More
So you want to have a website. You have gone... Read More
If your company own one or more stores, you might... Read More
Research reveals three important facts:1) The Internet is one of... Read More
You don't believe in astrology but you check your horoscope... Read More
express cleaning service Des Plaines ..Web sites are not just places to sell things; they... Read More
Every small business owner knows that they need a website,... Read More
Your site is fast and getting traffic, but conversion rates... Read More
Do you need a web site? Are you considering getting... Read More
1. Upload robots.txt file in to your root directory and... Read More
Wow, we`ve already taken a domain and chosen a web... Read More
I talk with so many people who have small businesses... Read More
Cost Effective Advertising. Online selling. Increased geopgraphic range. Wider... Read More
80% of your Web site is Maintenance!Once your Web site... Read More
Every good Internet business understands the value of conversions versus... Read More
Although there are significant differences among the various types of... Read More
Thinking about starting up a business? The web is the... Read More
Internet Marketing is not a miracle marketing strategy ? competition... Read More
Appealing to others is really important when you have a... Read More
Huge Mistake #1: Creating a Website with Flash -- Did... Read More
Simply ensuring your website is accessible to screen reader users... Read More
An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More
Creatively marketing your corporate site takes time in the set... Read More
1. As the first step, "Hire a web designer."First create... Read More
"'Page Not Found' on this Server. Check the URL and... Read More
When you purchase a new item from a Yahoo! Store,... Read More
Anyone who knows anything about web accessibility knows that images... Read More
1. The first page appears quickly.It's a good way to... Read More
Before you jump into spending coutnless hours on designing and... Read More
What is the point of having a website, you may... Read More
Web Development |