This procedure describes how to create a new PHP file within an existing project.
To create a new PHP file within a project:
- In Project Explorer view, select the Project within which you would like to place the file.
- Right-click and select New | PHP File-or- go to File on the Menu Bar and select New | PHP File.
- The PHP File creation dialog will be displayed.
- Enter the name of the file and click Next.
- The 'Use PHP Template' checkbox will be marked by default. This will create the new PHP file with the "<?php ?>" PHP tags. Select the required template or unmark the checkbox to create a blank file.
- Click Finish.
Your file will open in the editor and will appear within your project in Project Explorer and Navigator views.