1. Computing

Discuss in my forum

Using Notepad for PHP

How to Create and Save PHP in Notepad

By , About.com Guide

You don't need any fancy programs to work with PHP. In fact, all Window's computers come standard with a program called Notepad, that is used to create plain text documents. Here is how you use it to create a PHP file.

  1. Open Notepad: By default you can usually find Notepad by choosing Start > All Programs > Accessories > Notepad from your start menu.

  2. Type in your PHP code: Enter your PHP program into Notepad.

  3. Save your work:
    • Choose Save As from the File menu.
    • Enter the file name as your_file.php being sure to include the .php extension.
    • Then set the "Save As Type" to All Files.
    • Finally, hit the Save button.

On a Mac? Click here for instructions for using TextEdit.

  1. About.com
  2. Computing
  3. PHP / MySQL
  4. Tools & Resoruces
  5. Programs
  6. Using Notepad for PHP - Saving PHP in Notepad

©2013 About.com. All rights reserved.