PHP Submission Pages

Discussion in 'Directories' started by banless, May 15, 2007.

  1. #1
    Is it possible to have a php submission page that is set up like the ones on most phpld directories yet the rest of the site be in pure html? Hope this question makes sense.
     
    banless, May 15, 2007 IP
    compostannie likes this.
  2. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #2
    Set an addhandler to parse html as php.

    add that to your htaccess.

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

    Then in your html to call your php <?php your code and stuff here ?>

    is that what you were referring to?
     
    an0n, May 15, 2007 IP
  3. wwws

    wwws Notable Member

    Messages:
    3,385
    Likes Received:
    285
    Best Answers:
    0
    Trophy Points:
    225
    #3
    wwws, May 15, 2007 IP
  4. coolsitez

    coolsitez Well-Known Member

    Messages:
    2,586
    Likes Received:
    246
    Best Answers:
    0
    Trophy Points:
    183
    #4
    This makes sense. Or you can have a submission page based on php.
     
    coolsitez, May 15, 2007 IP
  5. banless

    banless Peon

    Messages:
    1,745
    Likes Received:
    217
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks guys. I had just bought the phpld script and was having some trouble, so I was going to go back to html format but I think I got the hang of it now.

    Thanks again.
     
    banless, May 15, 2007 IP