Penn State

Web Conference 2005

Writing PHP for ITS/ASET Web services

How to copy/paste, edit and save a Web page file

  Up   
  1. If you have not done so yet, map your PASS as a drive letter.

  2. Browse to your mapped PASS drive, then to your www folder.

     

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

     

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

     

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

     

  6. Copy the selection with Edit -> Copy

     

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

     

  8. Paste the content into Notepad with Edit -> Paste

     

  9. You should see your content.

     

  10. Select File -> Save As...

     

  11. Select My Computer

     

  12. 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:

     

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

    Be sure to save as type "All Files".

     

  14. Type in the desired filename. In this case, we wish to save firstphp.html.

    Click Save.

     

  15. 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.

     

  16. 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

See the source for this page

Last update on: Fri Jun 10, 2005, 9:38:04 PM