Creating files in localhost? and more...

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

Creating files in localhost? and more...

Postby GreyPhantom » 09. April 2014 00:29

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
User avatar
GreyPhantom
 
Posts: 6
Joined: 09. April 2014 00:07
Location: Philippines
Operating System: Windows 7 Ultimate

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

Postby GreyPhantom » 09. April 2014 00:35

Update*


MySQL root password changed, only phpmyadmin and xampp left!
User avatar
GreyPhantom
 
Posts: 6
Joined: 09. April 2014 00:07
Location: Philippines
Operating System: Windows 7 Ultimate

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

Postby GreyPhantom » 09. April 2014 00:40

Now, this what happens ..I can't access the phpmyAdmin

http://prntscr.com/389xdj :(
User avatar
GreyPhantom
 
Posts: 6
Joined: 09. April 2014 00:07
Location: Philippines
Operating System: Windows 7 Ultimate

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

Postby Alex R4 » 09. April 2014 01:40

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.
Alex R4
 
Posts: 31
Joined: 08. April 2014 11:24
Location: Adelaide/Australia
Operating System: Windows 7

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

Postby GreyPhantom » 09. April 2014 03:44

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.
User avatar
GreyPhantom
 
Posts: 6
Joined: 09. April 2014 00:07
Location: Philippines
Operating System: Windows 7 Ultimate

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

Postby Alex R4 » 09. April 2014 05:03

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.
Alex R4
 
Posts: 31
Joined: 08. April 2014 11:24
Location: Adelaide/Australia
Operating System: Windows 7

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

Postby GreyPhantom » 09. April 2014 06:30

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. :)
User avatar
GreyPhantom
 
Posts: 6
Joined: 09. April 2014 00:07
Location: Philippines
Operating System: Windows 7 Ultimate

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

Postby Altrea » 09. April 2014 09:06

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

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

Postby GreyPhantom » 10. April 2014 09:44

Everything is fine now. Thanks anyways. ^_^
User avatar
GreyPhantom
 
Posts: 6
Joined: 09. April 2014 00:07
Location: Philippines
Operating System: Windows 7 Ultimate


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 187 guests