Announcement

Collapse
No announcement yet.

Please tell me PHP Coding

Collapse

728x90 top

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Please tell me PHP Coding

    Hello,
    How I include PHPcode in .htm/.html pages?Please tell me. Please reply my post if you know the answer.

    Thanks
    Roofers Austin

  • #2
    most rapid sollution is to insert <iframe src=yourphpfile.php></iframe>

    Comment


    • #3
      Originally posted by Gracey
      Hello,
      How I include PHPcode in .htm/.html pages?Please tell me. Please reply my post if you know the answer.

      Thanks
      PHP scripts do not automatically work on html pages. If you have an HTML or (.HTM) based site, in order for PHP scripts to run on your .htm or .html pages you have a 2 options;

      1. For Apache Servers Edit your .htacess with AddType application/x-httpd-php .htm .html Then Add the php code from the reader directly to your html pages

      2. For Apache Servers Edit your .htacess with either .htm server parsed .html server parsed or
      Addhandler application/x-httpd-php .html .php Then follow the directions below to use the php code from the reader with SSI Includes.

      For Windows or IIS servers - You do not have an .htaccess file. Windows IIS servers also cannot run php on html pages. Your only option for windows IIS servers is to use .shtml or .php pages with the php option from the reader. Or add Javascript to your html pages. For .shtml pages check your setup options and make sure the option for SSI inlcudes is checked, then follow the directions below for creating the SSI include and file.
      Cardboard recycling Cars

      Comment


      • #4
        I am learning php please tell me PHP-Coding
        Gorilla Online Marketing | Guerrilla Advertising | guerrilla marketing strategies

        Comment

        728x90 bottom

        Collapse
        Working...
        X