Page 1 of 1

Creating files in localhost? and more...

PostPosted: 09. April 2014 00:29
by GreyPhantom
I already installed the xampp in my computer, installed the tomcat, mercury,filezilla, mysql and apache. I am going to start and crea a file now but I don't know how yet.

I also have a problem, how can I solve this thing? I'm still starter at this course.
http://prntscr.com/389tzw
I need a guide on how to solve this, I can't fully understand what the subscript says to make it secure.

Thanks,
G

Re: Creating files in localhost? and more...

PostPosted: 09. April 2014 00:35
by GreyPhantom
Update*


MySQL root password changed, only phpmyadmin and xampp left!

Re: Creating files in localhost? and more...

PostPosted: 09. April 2014 00:40
by GreyPhantom
Now, this what happens ..I can't access the phpmyAdmin

http://prntscr.com/389xdj :(

Re: Creating files in localhost? and more...

PostPosted: 09. April 2014 01:40
by Alex R4
Hi GreyPhantom,
As a beginner, you don't need all these utilities. As a beginner it is good enough the have XAMPP, Apache and php installed.
But first, you have to understand how messages are being processed at the server side, because that is what XAMPP is doing. Without this basic knowledge of server processing you are going to have a hard time understanding why these routines are in place.
Read up on how HTTP messages are processed at a server, any server, and then write your first index.html, insert it into the correct directory within XAMPP, fire up XAMPP and call your file from the browser.
Happy learning.

Re: Creating files in localhost? and more...

PostPosted: 09. April 2014 03:44
by GreyPhantom
I had learned now on how to make secure of those 4, what I want is to make a file in and open it into the localhost.

Re: Creating files in localhost? and more...

PostPosted: 09. April 2014 05:03
by Alex R4
Hi,

As far as I know, you can not make these routines secure. When you activate Apache within XAMPP, it will create a server environment on port 80 on your machine. For the whole world to see! Anybody will be able to access your machine like any other server.

As to your file:
Create a directory in your XAMPP environment like: drive:/xampp/htdocs/greyPhantom
Copy your home made index.html file into drive:/xampp/htdocs/greyPhantom
Startup XAMPP Contol Panel
Within XAMPP Control Panel start the Apache module.
Activate your browser.
In the browser's URL window type: http://localhost/greyPhantom

And BINGO, the contents of your index.html file should appear in the browser.

Happy coding.

Re: Creating files in localhost? and more...

PostPosted: 09. April 2014 06:30
by GreyPhantom
Seriously, I had make the 4 secured .. look at this pic: http://prntscr.com/38c2ni

And that's what I am finding for ..the "htdocs" thanks for this. :)

Re: Creating files in localhost? and more...

PostPosted: 09. April 2014 09:06
by Altrea
If you are using XAMPP only the supported way (as local test and development environment) you are secure by your own Router without doing anything.

Re: Creating files in localhost? and more...

PostPosted: 10. April 2014 09:44
by GreyPhantom
Everything is fine now. Thanks anyways. ^_^