<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000699" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000699</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-wrong-script-someone-help-me-script#comment-1003030</link>
    <description> &lt;p&gt;Bah, I missed out on all the fun. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&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>Fri, 02 Jul 1999 17:59:00 +0000</pubDate>
 <dc:creator>JP Stones</dc:creator>
 <guid isPermaLink="false">comment 1003030 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-wrong-script-someone-help-me-script#comment-1003028</link>
    <description> &lt;p&gt;I got it to work fairly easily. Just make sure that the perl path at the top of the file is correct, and you have $footer_dir set to the full path of where you store the files you want to include. (You must have a trailing backslash. example: &amp;quot;/home/mypage/html/&amp;quot;)&lt;/p&gt;
&lt;p&gt;My advice is don&#039;t even bother with this script. I fooled around with it a bit on my machine and found it to be very insecure. For example... I run the UBB on my machine. The member profiles are stored in D:/Apache/ultimate/members/. I just had to type:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://localhost/cgi-bin/smart-insert.cgi?../ultimate/members/admin5.cgi&quot; title=&quot;http://localhost/cgi-bin/smart-insert.cgi?../ultimate/members/admin5.cgi&quot;&gt;http://localhost/cgi-bin/smart-insert.cgi?../ultimate/members/admin5.cgi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And the script called up that file and sent all the information in that file to me. Among other things, that file contains the administrator password, which could mean trouble for my board if someone were to get ahold of it...&lt;/p&gt;
&lt;p&gt;You&#039;re probably better off just using SSI to include the files. (Not only is it more secure, it&#039;ll also reduce the server load, as the server won&#039;t have to execure the CGI script every time the page is accessed)&lt;/p&gt;
 </description>
     <pubDate>Fri, 02 Jul 1999 17:54:00 +0000</pubDate>
 <dc:creator>Stefen Enns</dc:creator>
 <guid isPermaLink="false">comment 1003028 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-wrong-script-someone-help-me-script#comment-1003029</link>
    <description> &lt;p&gt;I&#039;ve ditched the script, and I&#039;m just using &amp;lt;!--#include virtual=&amp;quot;/path/to/file.html&amp;quot;--&amp;gt;&lt;/p&gt;
&lt;p&gt;That seems to work just fine. &lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
 </description>
     <pubDate>Fri, 02 Jul 1999 17:03:00 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">comment 1003029 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-wrong-script-someone-help-me-script#comment-1003027</link>
    <description> &lt;p&gt;You mean you got it to work?!?!?!&lt;/p&gt;
&lt;p&gt;I have a pretty big site. 3 layouts.... It&#039;s a big hassle to update 3 versions of a page, and upload 3 different versions.&lt;/p&gt;
&lt;p&gt;I downloaded a &#039;Footer&#039; program, so I just need to edit a TXT (or HTML) file and each page will be updated. A lot easier.&lt;/p&gt;
&lt;p&gt;The problem with that is I&#039;ll need to install multiple versions of the same CGI script, for each page.&lt;/p&gt;
&lt;p&gt;This one allows me to use a single CGI program, but multiple source files.&lt;/p&gt;
&lt;p&gt;I&#039;ll keep toying around with it, and hopefully get it to work.&lt;/p&gt;
&lt;p&gt;(NOTE: I did NOT make this script &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;  )&lt;/p&gt;
 </description>
     <pubDate>Fri, 02 Jul 1999 02:38:00 +0000</pubDate>
 <dc:creator>Steve</dc:creator>
 <guid isPermaLink="false">comment 1003027 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-wrong-script-someone-help-me-script#comment-1003026</link>
    <description> &lt;p&gt;*sigh* It&#039;s me again. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;After fooling around with the script on my system a bit, I would like to discourage the use of it. It is VERY poorly writen, and it can be used by anyone to grab the contents of other files on the server. (In a test, I used it to grab the source code for a Perl script on my system. It worked.)&lt;/p&gt;
&lt;p&gt;Just my $0.02 &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 02 Jul 1999 01:16:00 +0000</pubDate>
 <dc:creator>Stefen Enns</dc:creator>
 <guid isPermaLink="false">comment 1003026 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-wrong-script-someone-help-me-script#comment-1003025</link>
    <description> &lt;p&gt;I just noticed the instructions say to include the script with:&lt;br /&gt;
&amp;lt;!--#include virtual=&amp;quot;smart-insert.cgi?FILE&amp;quot;--&amp;gt;&lt;/p&gt;
&lt;p&gt;It should be:&lt;br /&gt;
&amp;lt;!--#exec cgi=&amp;quot;smart-insert.cgi?FILE&amp;quot;--&amp;gt;&lt;/p&gt;
&lt;p&gt;HTH &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 02 Jul 1999 01:10:00 +0000</pubDate>
 <dc:creator>Stefen Enns</dc:creator>
 <guid isPermaLink="false">comment 1003025 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/whats-wrong-script-someone-help-me-script#comment-1003024</link>
    <description> &lt;p&gt;First of all, the first line of the script should be &amp;quot;#!/usr/bin/perl&amp;quot; or something similar. (&amp;quot;#!/usr/local/bin/perl&amp;quot; may work as well.)&lt;/p&gt;
&lt;p&gt;Second, why go to all this trouble to include an HTML file, when you could just use:&lt;/p&gt;
&lt;p&gt;&amp;lt;!--#include virtual=&amp;quot;/path/to/file.html&amp;quot;--&amp;gt;&lt;/p&gt;
&lt;p&gt;HTH &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/wink.png&quot; title=&quot;Wink&quot; alt=&quot;Wink&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Fri, 02 Jul 1999 01:04:00 +0000</pubDate>
 <dc:creator>Stefen Enns</dc:creator>
 <guid isPermaLink="false">comment 1003024 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
