![]() |
Web Conference 2005Writing PHP for ITS/ASET Web servicesHow to copy/paste, edit and save a Web page file |
![]() |
| Up |
If you have not done so yet, map your PASS as a drive letter.
Browse to your mapped PASS drive, then to your www folder.

Create a new folder: Right-click in the right window and select New -> Folder:

Type in the name you wish to call the folder, in this case, phpclass:

Select the HTML code by clicking and dragging the left mouse button over the text.

Copy the selection with Edit -> Copy

Start Notepad from Start -> All Programs -> Accessories -> Notepad

Paste the content into Notepad with Edit -> Paste

You should see your content.

Select File -> Save As...

Select My Computer

If you mapped your PASS space to a drive letter, you should see it here. In the example below, jcd's homefolder is mapped to the W: drive:

Browse through your space to your www folder, and in there to your phpclass folder.

Be sure to save as type "All Files".
Type in the desired filename. In this case, we wish to save firstphp.html.

Click Save.
View your page in Web browser to be sure you completed the exercise correctly:

The URL for your site should be "http://www.personal.psu.edu/" + your userid + "/phpclass/firstphp.html". The "/staff/j/c" part you see in my example will be automatically added for you to match your site's location.
Return to the lesson on your first PHP script.
| Up |
|
If you have any questions, feel free to ask me. Content by: Jeff D'Angelo <jcd@psu.edu> © 2005 Last update on: Fri Jun 10, 2005, 9:38:04 PM |
|