PHP question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Morgan
    Too lazy to set a custom title
    • May 2002
    • 10520

    #1

    PHP question

    i have a file on my server page2.html and im trying to rename it page2.php but when i rename the file it shows up blank in the web browser. Then I rename it back to page2.html and it shows up fine. what do i need to do? I have php installed.
    PornstarPlatinum.com | TransErotica.com
  • juicylinks
    So Fucking Banned
    • Apr 2001
    • 122992

    #2
    Ganj great design on your new program ......I goive it two bukkakes up

    Comment

    • MonkeyMan
      So Fucking Banned
      • Dec 2002
      • 1026

      #3
      You could add

      AddType application/x-httpd-php .html
      AddType application/x-httpd-php .htm
      AddType application/x-httpd-php .php

      to your .htaccess
      (that will parse html files as PHP files)

      but it sounds to me like you dont have PHP configured properly

      Comment

      • JasonB
        Confirmed User
        • Nov 2001
        • 1183

        #4
        When it shows up blank, view the source. If you can see your php code in there, then you dont have php configured properly.

        Comment

        • holiojohn
          Registered User
          • Feb 2003
          • 1

          #5
          Check your webserver config file.

          Comment

          • DexterD
            Registered User
            • Mar 2002
            • 19

            #6
            Your webserver doen't parse PHP obviously....

            RaptorLabs Design Studio

            Comment

            Working...