<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1012212" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1012212</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/writing-files#comment-1070460</link>
    <description> &lt;p&gt;Uh, is that REMOTE_HOST EV valid?&lt;/p&gt;
&lt;p&gt;Also, shouldn&#039;t you be using the localtime function for the time?&lt;/p&gt;
&lt;p&gt;[Edited by Vorm on 08-30-2000 at 05:44 PM]&lt;/p&gt;
 </description>
     <pubDate>Wed, 30 Aug 2000 21:38:28 +0000</pubDate>
 <dc:creator>Vorm</dc:creator>
 <guid isPermaLink="false">comment 1070460 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/writing-files#comment-1070430</link>
    <description> &lt;p&gt;Hope this helps&lt;/p&gt;
&lt;p&gt;open (FILE, &quot;&amp;gt;&amp;gt;/opt/guide/www.popupmoney.com/popuplog/popup.txt&quot;)|| dienice(&quot;PLEASE CONTACT SUPPORT  -  Can&#039;t open:  $FILE -  $!\n&quot;);&lt;/p&gt;
&lt;p&gt;You may wish to lock the file while your writing to it:&lt;/p&gt;
&lt;p&gt;# LOCK THE OPEN FILE&lt;/p&gt;
&lt;p&gt;	flock(file,2);	&lt;/p&gt;
&lt;p&gt;# RESET THE FILE POINTER TO END OF FILE BEFORE WRITING&lt;/p&gt;
&lt;p&gt;	seek(file,0,2);&lt;/p&gt;
&lt;p&gt;You can put the following subroutine at the bottom of&lt;br /&gt;
your script:&lt;/p&gt;
&lt;p&gt;sub dienice {&lt;br /&gt;
    my($msg) = @_;&lt;br /&gt;
    print &quot;ERROR\n&quot;;&lt;br /&gt;
    print $msg;&lt;br /&gt;
    exit;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
 </description>
     <pubDate>Wed, 30 Aug 2000 09:33:36 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1070430 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
