Remortgages - Mobile Phones - Dominios - Loans - Online Advertising

PDA

View Full Version : Just bought whoisPro script. How do I implement to a template?


Browning
Dec 31st 2007, 2:42 pm
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

Colbyt
Dec 31st 2007, 3:29 pm
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.

Browning
Dec 31st 2007, 3:34 pm
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

Hint: Using the header.html and footer.html files, you can integrate whoispro.cgi into your own website. Enjoy!

Colbyt
Dec 31st 2007, 4:37 pm
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.

deltrumweb
Dec 31st 2007, 4:45 pm
do a .htaccess redirect to /cgi

The .html files will be pulled in by the php files....always !!

Browning
Dec 31st 2007, 10:40 pm
what do you mean with that last part?

Colbyt
Jan 1st 2008, 8:10 am
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.

Browning
Jan 1st 2008, 2:10 pm
seen those, thanks. I might work with this one some and see what I can get it to