Page 1 of 1

How do I setup and save to directory

PostPosted: 29. June 2010 13:20
by noakwood
Hello Friends

I am new to this and am trying to plod my way through a SAMS teach yourself PHP, MySql, and Apache. I have managed to set xampp up on my computer. My problem is the book tells me to save my php files to my localhost directory and I have tried several ways. When I try to enter my file into the browser: http://localhost/xampp/htdocs/form.html (told to create by the book) I receive a 404 error. Could someone please help and outline the steps in layman terms as this is my first week trying to do this.

Many Thanks

Nickie

Re: How do I setup and save to directory

PostPosted: 29. June 2010 14:01
by Stepke-DSL
Hello Nickie,

You have to save your files in the subfolder htdocs of your XAMPP-Installation.
After that type http://localhost in the address field of your browser.
If you create subfolders in the htdocs-folder then you have to type http://localhost/subfolder in the address field.

Hope this info helps you.

Best regards Stepke