CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Frequently Asked Questions:
How Do I Include My CGi Without SSI?

 



sleuth
Enthusiast

Dec 17, 2000, 4:30 PM

Post #1 of 1 (4447 views)
How Do I Include My CGi Without SSI? Can't Post

Say you don't have SSI (Server Side Includes) on your server but you want to include a script from an html page or an ASP page or other types of pages like that. You could use an Inline Frame which will bring in the page, file, or script you want, in a cgi's case, you may just want it to track the hits to the page, so You don't want the script to be seen, but defiantly executed, you could easily point an Inline frame to your script without letting the visitor know about it by making the frame 1 x 1 pixels, which is too small to notice.


Code
<IFRAME SRC="http://site.com/cgi-bin/counter.cgi" WIDTH=1 HEIGHT=1 SCROLLING="no" FRAMEBORDER=0  
MARGINHEIGHT=0 MARGINWIDTH=0></IFRAME>

You could adjust the size (measured in pixels) to whatever you wish, Inline Frames are also good for binging in perl scripts that will show the server date & time too, In that case you'd just adjust the Iframe's size so that you can read the script's output.

Sleuth


 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives