An absolute newbie question

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ickwong
Forum Newbie
Posts: 3
Joined: Tue Sep 13, 2005 1:54 am

An absolute newbie question

Post by ickwong »

Hi there! I'm a complete beginner of PHP (or any server-side scripting languages), and am starting to learn this script at the moment. I want to create a PHP form for user to fill in, then when the user clicks on the "Submit" button, the computer gets the data and send those data to my email. I've found a few PHP form tutorials around and have no problem of making one, but the problem is, how do I go about testing the form??? Do I need to upload it to a server or something in order to test it? And if so, how? Is there any tutorial somewhere for this? I know it's a very stupid question, but please help!
Thanks very much!
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

You will need to have a PHP-enabled webserver. If you're doing it on your computer, you would not have to upload the files anywhere. That of course, would mean you'd have to have a web server on your computer, and PHP downloaded and installed.

If you're uploading it to a server some where else, then that server would have to have PHP on it.

To answer your question, yes.. you would need to upload the file to test it.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
ickwong
Forum Newbie
Posts: 3
Joined: Tue Sep 13, 2005 1:54 am

Post by ickwong »

So does that mean I have to get a webserver installed on my PC in order to use PHP if I have no other server to upload the files to? And also, for that webserver, do you mean by Windows Server System? Or something else that I can install it as an addition to my current Windows XP Pro?
Thanks for your help!
ickwong
Forum Newbie
Posts: 3
Joined: Tue Sep 13, 2005 1:54 am

Post by ickwong »

I think I've found out the solution.
Thanks anyway scrotaye.
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

Moved to PHP Code.

Check out McGruff's Start Pack (last link in my signature) for a good tutorial on how to start.
Post Reply