<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000971" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000971</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/cgi-script-log-file#comment-1004125</link>
    <description> &lt;p&gt;yeap, u need to use the path to the file, not url.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;strong&gt;Thumbs up or downs ratings and more on affiliate programs.&lt;a href=&quot;http://www.birminghamnet.com/search-engines/resources/webmaster_tools/&quot; class=&quot;bb-url&quot;&gt;CLICK 4 CASH&lt;/a&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Feb 2000 08:24:00 +0000</pubDate>
 <dc:creator>fairhousing</dc:creator>
 <guid isPermaLink="false">comment 1004125 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/cgi-script-log-file#comment-1004124</link>
    <description> &lt;p&gt;You cannot write to a http:// address unless it&#039;s a folder or using a socket connection.  try changing $LOGFILE to /home/wherever/_private/reflog.txt or whatever the file name is.&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Feb 2000 03:10:00 +0000</pubDate>
 <dc:creator>roBofh</dc:creator>
 <guid isPermaLink="false">comment 1004124 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/cgi-script-log-file#comment-1004123</link>
    <description> &lt;p&gt;Here&#039;s some of the code:&lt;/p&gt;
&lt;p&gt;$LOGFILE=&quot;http://friendscb.org/_private/reflog.txt&quot;;&lt;/p&gt;
&lt;p&gt;   if ($SENDMAIL ne &quot;&quot;)&lt;br /&gt;
     {&amp;amp;test_sendmail;}&lt;/p&gt;
&lt;p&gt;   &amp;amp;valid_page;    #if script is called from offsite, bounce it!&lt;br /&gt;
   &amp;amp;decode_vars;&lt;br /&gt;
   if ( $ENV{&#039;REQUEST_METHOD&#039;} ne &quot;POST&quot;)&lt;br /&gt;
    {&lt;br /&gt;
      &amp;amp;draw_request;&lt;br /&gt;
      exit;&lt;br /&gt;
    }&lt;br /&gt;
   &amp;amp;do_log;&lt;br /&gt;
   &amp;amp;process_mail;&lt;br /&gt;
   print &quot;Location: $JUMP_TO\n\n&quot;;&lt;/p&gt;
&lt;p&gt;[...]&lt;/p&gt;
&lt;p&gt;sub do_log&lt;br /&gt;
{&lt;br /&gt;
open (ZL,&quot;&amp;gt;&amp;gt;$LOGFILE&quot;);&lt;br /&gt;
$date=localtime(time);&lt;br /&gt;
for ($i=1;$i&amp;lt;$MAXNUM+1;$i++)&lt;br /&gt;
    {&lt;br /&gt;
      $recipname=&quot;recipname_$i&quot;;&lt;br /&gt;
      $recipemail=&quot;recipemail_$i&quot;;&lt;br /&gt;
      if ($fields{$recipemail} eq &quot;&quot;)&lt;br /&gt;
        {&lt;br /&gt;
         next;&lt;br /&gt;
        }&lt;br /&gt;
      if (&amp;amp;valid_address == 0)&lt;br /&gt;
        {&lt;br /&gt;
         next;&lt;br /&gt;
        }&lt;br /&gt;
     $logline=&quot;$date\|$JUMP_TO\|$fields{&#039;send_email&#039;}\|$fields{$recipemail}\|\n&quot;;&lt;br /&gt;
     print ZL $logline;&lt;br /&gt;
   }&lt;br /&gt;
  close(ZL);&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Feb 2000 00:59:00 +0000</pubDate>
 <dc:creator>agates</dc:creator>
 <guid isPermaLink="false">comment 1004123 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/cgi-script-log-file#comment-1004122</link>
    <description> &lt;p&gt;Mind posting a snippet of code to look at?&lt;/p&gt;
 </description>
     <pubDate>Wed, 16 Feb 2000 00:50:00 +0000</pubDate>
 <dc:creator>roBofh</dc:creator>
 <guid isPermaLink="false">comment 1004122 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
