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
spotless home service Lake Forest ..If you're fairly new to the Internet scene, you may... Read More
I've heard several prominent web marketers mention in their classes... Read More
Your content is what gets you in search engines, speaks... Read More
Many web developers today are starting to KISS their website,... Read More
URL rewriting are major needs for your sites that produce... Read More
Recently, a friend asked "What's the deal with those DIY... Read More
When we review the sites of potential clients, there are... Read More
"I am a writer, not a business-person. I don't want... Read More
Some left shoes are in isle 5, while the right... Read More
This simple question can take on several different forms, but... Read More
Research reveals three important facts:1) The Internet is one of... Read More
A lot has changed in the way sites are optimized... Read More
Your web site will be your window to the world.... Read More
Q. Hey, Cathy: I'm just setting up a website. What... Read More
Are bloated images slowing down your web site and causing... Read More
If you don't have a web site yet, are thinking... Read More
If you're looking for better web site ROI, chances are,... Read More
Rosalind wants to share her inspirational poetry with a wider... Read More
One of the best tools you have as a webmaster... Read More
A website is the most versatile and cost-effective marketing tool... Read More
Writing for the web is totally different to writing for... Read More
Dan Kennedy once said that if you can't make money... Read More
A simple website stats counter is not enough if you... Read More
You've just finished congratulating your marketing team. After six months... Read More
Revenues are often lost because many business owners don't see... Read More
weekly home cleaning Mundelein ..There have been many significant changes to the face of... Read More
#5 User Satisfaction: Learn what your visitors and site users... Read More
Although designing a great web site is an important part... Read More
In this example I have used the map of the... Read More
Anyone who knows anything about web accessibility knows that images... Read More
Getting a Targeted Visitor to a website is a waste... Read More
Knowledge is power.And undoubtedly, it is the key to making... Read More
Simply ensuring your website is accessible to screen reader users... Read More
The Disability Discrimination Act states that service providers must not... Read More
So you want to have a website. You have gone... Read More
When marketing your website, it's important to know which of... Read More
I'm one of those people that always wanted a website,... Read More
It never ceases to amaze me how many people set-up... Read More
Wow, we`ve already taken a domain and chosen a web... Read More
Are you aware that 90% of the websites on the... Read More
Before you set up any scripts you will need some... Read More
Like most average persons, I wanted some extra money to... Read More
Visitors to your site come looking for information or solutions... Read More
One of the things that many people overlook when building... Read More
After deciding what kind of internet business you want to... Read More
Launching a new small business website is often a long... Read More
Having an eye catching website is great, but are you... Read More
The first thing my business consultant (read brother-in-law) asked me,... Read More
An Introduction to Server Side IncludesBeginner? That's OK!While much has... Read More
Web accessibility has so many benefits that I really do... Read More
Web Development |