This Season
 

How to Make a PHP File

How to Make a PHP Filethumbnail
Make a PHP File

The PHP Group aids in managing PHP guidelines because there are no formal specifications that outline PHP. PHP was created in 1995 by Rasmus Lerdorf, and originally stood for Personal Home Page. PHP is a scripting language that is suited for web development, and it can be embedded in HTML. For PHP to work properly it is usually installed on a server. The user uploads the PHP files to the server and can run them from their site.

Related Searches:
    Difficulty:
    Moderately Easy

    Instructions

      • 1

        Open a simple text editor. It is best to use something like Notepad or Wordpad. Microsoft Word and other higher level word processors add a lot of extra formatting that can get in the way of writing or saving code-oriented files.

      • 2

        Enter your PHP code. Remember, for the code to be read properly you must have "<?php" (no quotes) at the top of the document, and "?>" (no quotes) at the end. For example:

        <?PHP
        $GetFile = @fopen("/tmp/filetoread.txt","r");
        ?>

      • 3

        Save the file. Use the "Save As..." feature to save the file to your desktop as a .txt file.

      • 4

        Navigate to the file you just created.

      • 5

        Right-click the file and rename it. Change the extension from ".txt" to ".php". You have created a PHP file.

    Tips & Warnings

    • PHP is a scripting language. You should have some programming experience to understand and properly execute code using PHP.

    Related Searches

    • Photo Credit www.osoft.com

    Read Next:

    Comments

    You May Also Like

    • How to Create an Order Form With PHP

      PHP is a versatile programming language for websites. It allows a site to interact with the server to accomplish interactive tasks. An...

    • How to Create a PHP File From HTML

      Rarely have two programming languages worked so well together as do PHP and HTML. A single file can easily integrate components of...

    • How to Edit PHP Files

      PHP is a server side scripting language used in creating dynamic web pages. It is possible to use third-party PHP applications on...

    • How to Create Zip Files With PHP

      When you need to offer a user many files as a download, a ZIP file is a natural way to do so....

    • Creating a PHP File Archive System

      You may be one of the many programmers who has chosen PHP as the server-side computer language to drive your input-intensive Internet...

    • How to View PHP File Types

      Files with the .php file extension contain code to display content on web pages. Often, .php files are a mix of HTML...

    • How to Create an Executable File

      An executable file is a file that can be executed on your computer. These files usually end with the extension ".exe." Many...

    • How to Make Zip Files in PHP

      The Zip file format is versatile in its applications and is commonly used in situations where compression and archiving are essential. Archiving...

    Follow eHow

    Related Ads