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

Information and Links

Join the fray by commenting, tracking what others have to say, or linking to it from your blog.


Other Posts
Using Eclipse PDT (PHP Development Tools) Part 1

Write a Comment

Take a moment to comment and tell us what you think. Some basic HTML is allowed for formatting.

Reader Comments

Be the first to leave a comment!