Page 1 of 1
An absolute newbie question
Posted: Tue Sep 13, 2005 2:26 am
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!
Posted: Tue Sep 13, 2005 2:31 am
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.
Posted: Tue Sep 13, 2005 2:56 am
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!
Posted: Tue Sep 13, 2005 3:21 am
by ickwong
I think I've found out the solution.
Thanks anyway scrotaye.
Posted: Tue Sep 13, 2005 3:37 am
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.