View Single Post
Old 20-02-2007, 12:30   #5 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Quote:
Originally Posted by Newbie123
Basically I want to put a simple HTML form onto my website (katebullock.co.uk) for people to fill in. I understand that I need a web server and an application server in order to process the resulting data. Other than that I'm really struggling to find the information I need quickly enough to make some headway. Which application server should I choose (bearing in mind I'm new to all this) and does anyone have any suggestions as to how to set this up, as simply as possible? Thanks in advance.
Your best bet overall is probably going to be a Linux server (OS), running Apache (web server), using PHP (app server...kinda...it's just an engine that executes PHP programming).

This is a "LAMP" server - Linux, Apache, MySQL, PHP (MySQL being the database) - and it's the most common form of web server, I believe. All four of those applications are free and open-source.

Your host seems to be streamline.net and according to http://streamline.net/wh.php they support PHP4. That's what you'll use.

To test it, create an empty file in Notepad called hello.php, open it and paste in:

Code:
<?php echo "Hello!"; ?>
Save it, upload it, and call it in your browser (yoursite.co.uk/hello.php, for example). You should see "Hello!". If that doesn't work, get in touch with your host.

HTML is just a markup language, so it can't "do" anything. For that, you need something to process the form inputs. Something like PHP.

You can use my PHP contact form script if you like. Or Google it. There's a million of them out there floating around.
  Reply With Quote