Page 1 of 1

basic tutorials

PostPosted: 16. December 2008 05:38
by shaaronna
Hi
I've just downloaded the latest xampp
i was wondering where can i find a basic tutorial on how to use it

i'd like to know where to drop the php file to view on my browser
i started xampp appache & msql and droped the file in htdocs but when i tried to browse
it tells me the file can't be read and needed an external program to open the php file
can anyone refer me to a basic tutorial ?
thanks
Shaaronna :lol:

Re: basic tutorials

PostPosted: 16. December 2008 06:03
by Sharley
shaaronna wrote:...and droped the file in htdocs but when i tried to browse...
What did you put in the address bar of your browser?

You may start by reading the readme_en.txt file in the xampp folder.

Then read everything on these 2 pages:
http://www.apachefriends.org/en/xampp-windows.html
http://www.apachefriends.org/en/faq-xampp-windows.html

If I recall correctly there are some third party tuts that may be found by using Google Search.

Re: basic tutorials

PostPosted: 16. December 2008 06:19
by shaaronna
Thanks Sharley will have a look at it now :lol:

Re: basic tutorials

PostPosted: 16. December 2008 17:15
by thekingofcaseys
Its very unusual that a default installation of XAMPP never allowed you to view a PHP file what was the file in question.

Was it a static single php file or a script if so then most scripts need some kind of installation wether it be a install page or a couple of page edits and manually inserting the sql.

Re: basic tutorials

PostPosted: 16. December 2008 23:34
by Sharley
thekingofcaseys wrote:Its very unusual that a default installation of XAMPP never allowed you to view a PHP file what was the file in question.
Not unusual especially if the OP tried to browse to the file using Windows Explorer and not by using a URI address in a web browser - but unless the OP posts more details about the issue then only a speculative guess can be offered as a solution.

To access a php file in the htdocs folder an address, like this for example, must be used so that the Apache web server can parse the php code inside the file:
http://localhost/myphpfile.php


BTW, Welcome back to the forums thekingofcaseys, been just over 2 years since your last post here.

IMHO these open XAMPP forums are the correct places for XAMPP support as an inquiring poster may be exposed to more than one opinion, also those opinions can then be moderated by a very competent and knowledgeable group of experienced XAMPP Developer Moderators to ensure that correct and un-misleading solutions and standards are maintained. ;)