How do I setup and save to directory

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How do I setup and save to directory

Postby noakwood » 29. June 2010 13:20

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

Posts: 1
Joined: 29. June 2010 13:03

Re: How do I setup and save to directory

Postby Stepke-DSL » 29. June 2010 14:01

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
Posts: 313
Joined: 12. July 2007 16:08
Operating System: Win XP Pro SP3 + SuSe Linux

Return to XAMPP for Windows

Who is online

Users browsing this forum: Daniel314 and 76 guests