Page 1 of 1

Help for XAMPP nuby

PostPosted: 26. April 2009 16:26
by soupy
Need help getting started with XAMPP for Windows. I am working with an Apress book on "Beginning PHP and MySql". I want to start testing the examples in the book, but I don't know where to put the examples or how to direct the browser to the example. Can someone help me get started? :(

Re: Help for XAMPP nuby

PostPosted: 26. April 2009 17:38
by Wiedmann
Read the readme_en.txt.

Re: Help for XAMPP nuby

PostPosted: 26. April 2009 23:04
by Sharley
soupy wrote:I want to start testing the examples in the book, but I don't know where to put the examples or how to direct the browser to the example.
You would put your php examples in the C:\xampp\htdocs folder (assuming that you have installed XAMPP in the default location) - simpler to create a new folder in the htdocs folder for your examples and place all your examples in it to keep them all together.

For example C:\xampp\htdocs\examples\example1.php

You would then load the file in your browser by typing this URI:
http://localhost/examples/example1.php


C:\xampp\htdocs = http://localhost/
C:\xampp\htdocs\examples = http://localhost/examples/

Get the idea?