Help for XAMPP nuby

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

Help for XAMPP nuby

Postby soupy » 26. April 2009 16:26

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? :(
soupy
 
Posts: 1
Joined: 26. April 2009 16:20

Re: Help for XAMPP nuby

Postby Wiedmann » 26. April 2009 17:38

Read the readme_en.txt.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: Help for XAMPP nuby

Postby Sharley » 26. April 2009 23:04

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?
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 144 guests