![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
|
Yes, but you need to use an .htaccess to tell your server to parse the .htm pages for PHP or SSI.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Thanks.
Can you give a sample of what command to use once i got that htacces thing setup? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Feb 2002
Location: Free Speech Land
Posts: 9,484
|
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) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Posts: 59,204
|
Cool, thanks alot!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Join Date: Sep 2001
Location: Kentucky USA
Posts: 689
|
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |