Eclipse PDT (Part 2) - Creating your first project


**Follow instructions from class on setting up XAMPP on your personal computer for a test development site on your machine.

To create a new project in Eclipse you must first Right Click on the PHP Explorer window and go to New > PHP Project like Figure 1.

Figure 1:

New Project

Next name your project WebPage2 when the dialog box comes up on the screen.  This creates a Eclipse Project called WebPage2 where we can create our project website for php scripts.  Let’s go ahead and create the default.php file to be the page that automatically loads with the XAMPP Server installed from class.

With the little that we’ve gone over in class regarding PHP, in the default.php page please print out your name and current time.  Make sure that it always prints out the correct time to the page no matter what time they visit it must be in sync with the time they view the page.  Check out the php manual regarding date and/or time.

Before the next class please touch up on your html (W3 Schools) skills.

Resources:

  • http://www.php.net/manual/en/
  • http://www.w3schools.com

Previous Articles

Using Eclipse PDT (PHP Development Tools) Part 1


YouTube and Senior Projects


Welcome to Mr. Myers' Technology Website

Thank you for taking the time to visit! Take a second to peek around and check out some of my previous posts. Of course, I would love to find out what you think as well, so make sure to comment. See you around!

Calendar

July 2009
M T W T F S S
« May    
 12345
6789101112
13141516171819
20212223242526
2728293031