Importing files from other directories [message #1571513] |
Sun, 18 January 2015 17:40 |
Calvin Wichmann Messages: 1 Registered: January 2015 |
Junior Member |
|
|
Noobie Question
So I have a XAMPP Server set up and want to review PHP code in eclipse.
Problem is how do I open a PHP file from let's say C:/Programms/Code
I know files have to be in the XAMPP htdocs directory to be able to run them.
My workspace is set to htdocs.
Is there a way I can make a new project in the htdocs directory and then import a php file from the Code directory.
Because right now if I just open the file with eclipse I cant get it to show up in the nav bar and running it doesnt work either.
Right now the only way it worked for me was make New PHP Project->add a new PHP file(lets call it newfile)->open the file from Code directory in Eclipse->copy and paste the code to newfile->and then run
But there has to be a better. Please help.
|
|
|
Powered by
FUDForum. Page generated in 0.04003 seconds