Page 1 of 1

Can not login localhost/splash.php

PostPosted: 16. July 2016 15:06
by Kevin Tran
Hi everyone, I am new in this forum, and I am completely new to xampp.
I just installed successfully xampp with the windows 7.
When I go to http://localhost it leads to localhost/dashboard/
I need to go to localhost/splash.php so I can go to localhost/xampp/index.php, but I could not.
I got the message:

Object not found!

The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.

If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.21

What I want is to setup security for mysql password.
Appreciate if anyone could help me please.
Thanks in advance.

Re: Can not login localhost/splash.php

PostPosted: 16. July 2016 20:11
by Nobbie
Kevin Tran wrote:When I go to http://localhost it leads to localhost/dashboard/


Perfect! Everything is fine.

Kevin Tran wrote:I need to go to localhost/splash.php so I can go to localhost/xampp/index.php, but I could not.


No you dont. Obviously you are following an outdatet tutorial. There is no xampp folder anymore.

If you would like to change any MySQL User Passwords, use PhpMyAdmin to do so.

Re: Can not login localhost/splash.php

PostPosted: 17. July 2016 09:52
by Kevin Tran
Thanks for a quick response Nobbie.
I am completely new with xampp, therefore I appreciate if you please show me how to change MySQL user password.
Also, any idea where I can have the updated tutorial for php? (I am learning how to use php by myself), I don't want to go with fee courses or something like that. Thanks in advance.

Re: Can not login localhost/splash.php

PostPosted: 17. July 2016 11:13
by Nobbie
Kevin Tran wrote:Thanks for a quick response Nobbie.
I am completely new with xampp, therefore I appreciate if you please show me how to change MySQL user password.


Why do you want to change any password? Also, there is no "MySQL User" password. MySQL knows Users (many of them) and these Users have certain rights. Per default, there is a User called "root", which comes with all rights (Administrator). This User comes without a password per default, as Xampp is only a local development plattform. Go for a phpmyadmin tutorial if you want to know, how to change User passwords in phpmyadmin. But keep in mind, that you also have to reconfigure phpmyadmin itself, as phpmyadmin uses the User "root" in order to administrate MySQL. phpmyadmin has to login also, therefore you have to tell phpmyadmin, that the passwort of "root" has been changed, otherwise you cannot use phpmyadmin any more.

Its a bit complex, I dont want to write a tutorial here, how to proceed if you like to change User credentials, you first should learn to work with MySQL and phpmyadmin and should learn, how these things are working together. After you learned, you wont need any explanation any more, you will know what to do and after then you might change the "root" password. Beginners should not change anything without knowing, what they are doing there. It is not necessary for the functions of Xampp.

Kevin Tran wrote:Also, any idea where I can have the updated tutorial for php? (I am learning how to use php by myself), I don't want to go with fee courses or something like that. Thanks in advance.


There is an up-to-date FAQ on the Bitname site, where you downloaded Xampp. It probably answers most questions.

P.S.: Oups, i got your question wrong, you are looking for PHP tutorials (not for Xampp). Simply enter "PHP tutorial" into Google, i think you will get thousands of hits...

Re: Can not login localhost/splash.php

PostPosted: 17. July 2016 11:16
by Altrea
Hi Kevin Tran,

Kevin Tran wrote:I appreciate if you please show me how to change MySQL user password.

This way => [Q&A] Setting MySQL root password

Kevin Tran wrote:Also, any idea where I can have the updated tutorial for php?

I am knowing many good tutorials in german but badly not that many in english...
http://tut.php-quake.net/en/index.html

But that nearly independent from XAMPP (or any other Webserver Stack). You just need to know how to get this stack started and where you need to place and request your files. You can use every tutorial you like, you just need to choose a AMP (Apache, PHP, MySQL) Stack fitting to this tut,
There are for sure some tutorials that are better than others. For example i would not recommend learning from an old tutorial which still shows how to use the old mysql_ functions. These functions are removed since PHP 7. Find a tutorial using the mysqli or PDO functions to connect to a MySQL Database.

best wishes,
Altrea

Re: Can not login localhost/splash.php

PostPosted: 18. July 2016 11:48
by Kevin Tran
Thank you very Nobbie and Altrea for your replies.
I have to learn more about php the way you showed me.
Once again, thanks for your help. :lol: :lol: