PDA

View Full Version : SSI help please



Weapon
April 3rd, 2001, 00:21
well this can be pretty confusing so I will draw a diagram

----------------
| |
| |
----------------
| | 02 | |
| |--------| |
|01| |03|
| | | |
| | | |
| | | |
----------------
well basicly my site looks like that anyways where no.02 is I use SSI to put my banner in whuch looks something like this <!--#exec cgi="/path-to-cgi-script"-->. I put that into the seperate file that the SSI script in no.02 call, but instead of printing out the banner it prints out <!--#exec cgi="/path-to-cgi-script"--> so my theory is that the SSI script prints out what is exacly shown on the seperate file. I was just windering is there anyway around this? would it help if I use IFRAME to link it to a brand new page and in the brand new page then it that page I put the script <!--#exec cgi="/path-to-cgi-script"-->?

lucifer
April 3rd, 2001, 07:34
If you put it in an IFRAME then it won't show on netscape.

SSI don't run includes as a SSI page just as a text file

php does you could use this

or exec a script that then calls the script you want

hope that makes sense