Prevents the location update and the display of the "location not found" dialog box
[phpeclipse.git] / net.sourceforge.phpeclipse.help / html / ar02s03.html
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>Adding a Source File to the Project</title><meta name="generator" content="DocBook XSL Stylesheets V1.71.0"><link rel="start" href="index.html" title="Debugging in PHP Eclipse"><link rel="up" href="ar02.html" title="Creating a Project Using PHPEclipse"><link rel="prev" href="ar02s02.html" title="Creating the Project"><link rel="next" href="ar02s04.html" title="Conclusion"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Adding a Source File to the Project</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ar02s02.html">Prev</a> </td><th width="60%" align="center">Creating a Project Using PHPEclipse</th><td width="20%" align="right"> <a accesskey="n" href="ar02s04.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="phpeclipse.creatingproject.addingsourcefile"></a>Adding a Source File to the Project</h2></div></div></div><p>Now that we have created the project, we need to add some simple
2     code. We will start by adding a PHP File. To do this, select File-New-PHP
3     File. The 'New PHP File' window will appear. This window allows you to
4     select the file name and the container. The container is the directory
5     that you want to create the file in, and the filename is, well, the name
6     of the file, with the php extension.</p><div class="figure"><a name="phpeclipse.creatingproject.newphpfile"></a><p class="title"><b>Figure 5. The New PHP File Window</b></p><div class="figure-contents"><div class="screenshot"><div class="mediaobject"><img src="newphpfile.png" alt="The New PHP File Window"></div></div></div></div><p><br class="figure-break">Once you have entered the directory name and the filename,
7     click Finish to complete the process. The PHP editor will appear and your
8     new, empty file will be open in it.</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ar02s02.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ar02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ar02s04.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Creating the Project </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Conclusion</td></tr></table></div></body></html>