![]() |
ssi?
I have an index.htm page and on that index page i need to include another page.. This other page is a .cgi page. Can i include this in the index.htm page? If so, how? With SSI? PHP?
Thanks |
Yes, but you need to use an .htaccess to tell your server to parse the .htm pages for PHP or SSI.
|
|
Thanks.
Can you give a sample of what command to use once i got that htacces thing setup? |
General stuff:
http://www.bignosebird.com/ssi.shtml Specific to your question: http://www.bignosebird.com/sdocs/execs.shtml This is the code to call the script: < !--#include virtual="/cgi-bin/calprog.cgi" --> (remove the space before the exclamation point) |
Cool, thanks alot!
|
Actually that virtual one may not work this one should always work
<!--#exec cgi="/cgi-bin/cgiprogram.cgi"--> but if it doesnt then add this to your .htaccess file AddHandler server-parsed .html AddHandler server-parsed .htm Brian |
All times are GMT -7. The time now is 03:56 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123