What should i do next with XAMPP (two questions)?

Humza

New Member
I have downloaded and installed XAMPP as advised by people on here.<br />
I downloaded it to learn PHP nothing else.<br />
Firstly it says MySQL is not secure, should i add a password?<br />
And now i have installed it, how to get on to start learning (from W3Schools). Do i just open notepad like i did for X/HTML & CSS & Javascript and start typing?<br />
Not the brightest spark but we can't all be pig ugly and clever.<br />
Thanks in advance<br />
 

random_guy7531

New Member
MySQL should have a password. Doing so will prevent others from accessing your database when you dont want them to. As far as the PHP learning goes, you can write the php files in notepad like you did before, just give them a .php file extension. Then, put them in the htdocs folder of XAMPP and load them in your web browser. As well, ensure that you have the web server running.

Hope this helps!
 

kamstylo

New Member
If you are running the XAMPP on default settings then there is nothing to worry about. MySQL will prevent any computer (other than yours) from accessing the database. You can add a password if you feel uncomfortable leaving it exposed.

To add the password check the instructions at xampp site ( http//www.apachefriends.org/en/xampp-windows.html#1221 )

To start programming, you can indeed fireup notepad and start typing away. Make sure you save the resultant files in the xampp web root directory ( http//www.apachefriends.org/en/xampp-windows.html#1168 ).

The default settings mean that you save the files in cxamphtdocs. This directory is then mapped to the localhost. eg, if you saved a file at cxamphtdocshello.php you will need to type in http//localhost/hello.php in the browser address bar to call it up.

Hope that helps.

PS - that faq has some good startup info regarding xampp. Give it a read if you have the time to better understand your setup.
 
Top