<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000717" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000717</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ssi-within-cgi-script-it-possible#comment-1003106</link>
    <description> &lt;p&gt;The line I listed above is what I use to include existing cgi scripts (like my banner rotator) that I want to &#039;insert&#039; into a secondary script (like my message board). That way I don&#039;t have to cut and paste the code into that spot... and if I change the original code, it automatically changes in the second script.&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
1-On-1 Free Basketball Game - Wanna Play?&lt;br /&gt;
&lt;a href=&quot;http://basketball-game.com&quot; class=&quot;bb-url&quot;&gt;http://basketball-game.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 19 Jul 1999 00:39:00 +0000</pubDate>
 <dc:creator>Voltec</dc:creator>
 <guid isPermaLink="false">comment 1003106 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ssi-within-cgi-script-it-possible#comment-1003105</link>
    <description> &lt;p&gt;I use&lt;/p&gt;
&lt;p&gt;Include Tag:-&lt;/p&gt;
&lt;p&gt;open (FILE, &amp;quot;file.txt&amp;quot;) ;&lt;br /&gt;
while (&amp;lt;FILE&amp;gt;) { print $_; }&lt;br /&gt;
close (FILE);&lt;/p&gt;
&lt;p&gt;Exec tag:-&lt;/p&gt;
&lt;p&gt;$ssiexec = `file.cgi` ;&lt;br /&gt;
$ssiexec =~ s!Content-type: \w+/\w+!!i ;&lt;br /&gt;
print &amp;quot;$ssiexec&amp;quot; ;&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
John Slade (ICQ #19533369)&lt;br /&gt;
&lt;a href=&quot;http://www.grandprix1.com&quot; class=&quot;bb-url&quot;&gt;http://www.grandprix1.com&lt;/a&gt; - Everything for Microprose F1GP&lt;/p&gt;
 </description>
     <pubDate>Sat, 17 Jul 1999 19:36:00 +0000</pubDate>
 <dc:creator>John Slade</dc:creator>
 <guid isPermaLink="false">comment 1003105 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ssi-within-cgi-script-it-possible#comment-1003104</link>
    <description> &lt;p&gt;I use &#039;Require&#039; to insert a file into a cgi script.&lt;/p&gt;
&lt;p&gt;Example:&lt;br /&gt;
require &amp;quot;../burst-sub.cgi&amp;quot;;&lt;/p&gt;
&lt;p&gt;There are two limitations that I have noted: &lt;/p&gt;
&lt;p&gt;1) The script MUST return a True or 1 value at the end or it will add an entry to your error logs. (simple to do: $result = 1; as the last line)&lt;/p&gt;
&lt;p&gt;2) You can only &#039;include&#039; this file in any cgi file ONCE... the reason is simple - it has already been included.&lt;/p&gt;
&lt;p&gt;I don&#039;t know if this is not &#039;standard&#039;... but I know it works... I use it often.&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
1-On-1 Free Basketball Game - Wanna Play?&lt;br /&gt;
&lt;a href=&quot;http://basketball-game.com&quot; class=&quot;bb-url&quot;&gt;http://basketball-game.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 17 Jul 1999 01:27:00 +0000</pubDate>
 <dc:creator>Voltec</dc:creator>
 <guid isPermaLink="false">comment 1003104 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ssi-within-cgi-script-it-possible#comment-1003101</link>
    <description> &lt;p&gt;SSI in CGI scripts is not possible to my knowledge &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;br /&gt;
JP&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
The Webmaster Promotion and Resource Center.&lt;br /&gt;
&lt;a href=&quot;http://www.what-next.com&quot; class=&quot;bb-url&quot;&gt;http://www.what-next.com&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Tue, 13 Jul 1999 01:34:00 +0000</pubDate>
 <dc:creator>JP Stones</dc:creator>
 <guid isPermaLink="false">comment 1003101 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ssi-within-cgi-script-it-possible#comment-1003103</link>
    <description> &lt;p&gt;You can, actually ....&lt;br /&gt;
Instead of printing text/html headers, print wwwserver/html-ssi. That should do the trick (at least in my Win 95 machine)&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
Federico&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;a href=&quot;http://www.UBBdir.com&quot; class=&quot;bb-url&quot;&gt;UBBdir.com&lt;/a&gt; --  Find the internet&#039;s best forums&lt;br /&gt;
&lt;a href=&quot;http://www.WDresources.com&quot; class=&quot;bb-url&quot;&gt;WDresources.com&lt;/a&gt; -- Resources for the web developer&lt;/p&gt;
 </description>
     <pubDate>Tue, 13 Jul 1999 01:33:00 +0000</pubDate>
 <dc:creator />
 <guid isPermaLink="false">comment 1003103 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/ssi-within-cgi-script-it-possible#comment-1003102</link>
    <description> &lt;p&gt;It is not possible to use the include and exec tags in a CGI script but it is possible to emulate what SSI does when a Perl script is executed.&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
John Slade (ICQ #19533369)&lt;br /&gt;
&lt;a href=&quot;http://www.grandprix1.com&quot; class=&quot;bb-url&quot;&gt;http://www.grandprix1.com&lt;/a&gt; - Everything for Microprose F1GP&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Jul 1999 17:10:00 +0000</pubDate>
 <dc:creator>John Slade</dc:creator>
 <guid isPermaLink="false">comment 1003102 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
