Just bought whoisPro script. How do I implement to a template?

Discussion in 'HTML & Website Design' started by Browning, Dec 31, 2007.

  1. #1
    Came with .cgi file, header.html and footer.html files

    I'm lost now. How do I put this inside a template? Or make a index.php that pulls all files into one page like

    http://www.whoisscript.net/order.php
     
    Browning, Dec 31, 2007 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #2
    I don't think you can put it in a php file.

    When you call the cgi file the header should be at the top and the footer at the bottom.

    Upload it to yoursite and then type domainname/the filename and see what happens. Put Hello in the header file and goodby in the footer and you can see how it works.
     
    Colbyt, Dec 31, 2007 IP
  3. Browning

    Browning Banned

    Messages:
    1,928
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I got it to work but only when you type the full domain with the /file.cgi I want it to show when you just type the url

    And in the bottom of the installation instructions it says

     
    Browning, Dec 31, 2007 IP
  4. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #4
    Now that I have thought about it you might be able to include a cgi file in a php page using the include function.

    I really don't know for sure one way or the other.
     
    Colbyt, Dec 31, 2007 IP
  5. deltrumweb

    deltrumweb Banned

    Messages:
    502
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    do a .htaccess redirect to /cgi

    The .html files will be pulled in by the php files....always !!
     
    deltrumweb, Dec 31, 2007 IP
  6. Browning

    Browning Banned

    Messages:
    1,928
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #6
    what do you mean with that last part?
     
    Browning, Dec 31, 2007 IP
  7. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    #7
    I could not get their free version working on my serverlast night. I may try another server later this afternoon. If I get it working I will play around with it and see if I can embed it into a php page.

    I am sending you a pm for three different scripts I did get working that you can take a look at.
     
    Colbyt, Jan 1, 2008 IP
  8. Browning

    Browning Banned

    Messages:
    1,928
    Likes Received:
    29
    Best Answers:
    0
    Trophy Points:
    0
    #8
    seen those, thanks. I might work with this one some and see what I can get it to
     
    Browning, Jan 1, 2008 IP