Creating a folder htdocs

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

Creating a folder htdocs

Postby Jay Jay » 13. December 2012 17:54

Hello

If anyone can please help out. I am trying to create a folder to put my files in. I have Xampp installed on my computer & using a text editor Eclipse the latest version all in one package. From the book I am reading. Understanding by default Apache web server looks for web files in the htdocs folder. I am using windows O.S. and have xampp installed on C drive. In C drive the htdocs folder is under xampp. Attempting to create a folder to place my class files in. But within the htdoc folder. Generally using Eclipse as a text editor but working with Xampp, PHP and Mysql. I am a beginner/ newbie. If anyone has any knowledge of creating a folder in htdocs can you please lend a hand. Thank you.
Jay Jay
 
Posts: 3
Joined: 13. December 2012 17:20
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: Creating a folder htdocs

Postby Altrea » 13. December 2012 18:27

Hi Jay_Jay,

i wanted to help you, but you haven't described where your problem is!?
you can create folders as usual with your windows explorer.

best wishes,
Altrea
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: 6946
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: Windows 10 Pro x64

Re: Creating a folder htdocs

Postby Jay Jay » 13. December 2012 22:17

hello

Perhaps this can be more information?

I downloaded data files that accompany the book. Create a project in Eclipse. File > New > PHP project. Naming it php24. Create a blank .php file calling it test.php. Next:

Right click on the PHP file I called php24. > Select New > PHP File.

Source Folder: php24 as project name. File name > test.php Finish.

Right click on php24 and choose refresh. From my the data files there should be another project called lesson cs in explorer window below the project php24. Not seeing the project lesson cs in the Eclipse Explorer Window.

This could be occurring because I haven't created a folder in htdocs to keep my class files in. As a newbie this is my best description of the problem at hand. But in any regards any further help is very much appreciated. Thank you very kindly.
Jay Jay
 
Posts: 3
Joined: 13. December 2012 17:20
XAMPP Version: 5.6.3
Operating System: Windows 7

Re: Creating a folder htdocs

Postby Jay Jay » 14. December 2012 03:44

hello

working this out. please permit me.

Trying to start where I left off where xampp is installed on my computer. Made a new folder and then draged htdocs into it. Then copied and paste the lesson's 2 data file in the new folder. Went to text editor right click on the project to refresh it. trying to find Lesson 2cs data files in exclipse explorer window's tree. not there. Tried doing the same thing in Apache folder. not so to. tried draging htdocs folder into C drive. Not so. Please, open to any sugestions along those lines? Also once again Thank you.
Jay Jay
 
Posts: 3
Joined: 13. December 2012 17:20
XAMPP Version: 5.6.3
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 64 guests