<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001179" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001179</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/writing-html-page#comment-1005136</link>
    <description> &lt;p&gt;Hi Vulken, &lt;/p&gt;
&lt;p&gt;Thanks for your help, I now have the script fully working. My problems were that I couldn&#039;t take what was written in a form and open a file to print it.... But now I have fixed it.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
Thomas Minton&lt;br /&gt;
&lt;a href=&quot;http://www.javaplace.co.uk&quot; class=&quot;bb-url&quot;&gt;The JavaScript Place&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.bepaid.com/users.rhtml?REFID=10138056&quot; class=&quot;bb-url&quot;&gt;Get paid $20 - $160 an hour for viewing adverts&lt;/a&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 26 Jun 2000 14:44:00 +0000</pubDate>
 <dc:creator>minton</dc:creator>
 <guid isPermaLink="false">comment 1005136 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/writing-html-page#comment-1005135</link>
    <description> &lt;p&gt;um...I used your script and it appeared to work correctly. I am not understanding the foremost problem in your script. If it is that you cannot write to an external file, be sure that the directory that your file is in is chmoded 755. You might not be able to chmod your home directory to 755 so you might have to keep your files in an upper directory that you have chmoded 755. Also make sure that the file is chmoded 755 as well.&lt;/p&gt;
&lt;p&gt;If this is not your problem and I am WAY OFF. Just reply here and tell me a little more clearly what happens when you run your script. Also post a text version of formtohtml2.pl.&lt;/p&gt;
&lt;p&gt;Sorry I could help anymore..&lt;/p&gt;
&lt;p&gt;VulKen&lt;br /&gt;
&lt;strong&gt;I smell like tainted meat&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 25 Jun 2000 23:57:00 +0000</pubDate>
 <dc:creator>Ken Elliott</dc:creator>
 <guid isPermaLink="false">comment 1005135 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/writing-html-page#comment-1005134</link>
    <description> &lt;p&gt;Hey, &lt;/p&gt;
&lt;p&gt;Thanks Vulken. i have done what you said but I now get an internal server error in the script I added it to.&lt;/p&gt;
&lt;p&gt;Could someone take a look at my scripts?&lt;br /&gt;
 &lt;a href=&quot;http://www.dotcomper.co.uk/cgi-bin/testingnews/formtohtml.txt&quot; class=&quot;bb-url&quot;&gt;http://www.dotcomper.co.uk/cgi-bin/testingnews/formtohtml.txt&lt;/a&gt;  is the script which works. This has two form fields on it. One is for a message and one is for a subject. When the subkit button is pushed it is meant to run &lt;a href=&quot;http://www.dotcomper.co.uk/cgi-bin/testingnews/formtohtml2.pl.txt&quot; class=&quot;bb-url&quot;&gt;http://www.dotcomper.co.uk/cgi-bin/testingnews/formtohtml2.pl.txt&lt;/a&gt;  which is simply meant to take the input from the first script and write it to a html document.&lt;/p&gt;
&lt;p&gt;I am sure that I am not making it take the info from the first script and put it into ther other but I am not sure how I get it to &quot;remember&quot; what was in the last one and print it in the html doc.&lt;/p&gt;
&lt;p&gt;In short, can some of the perl gods out there take a look and see what they think it is wrong?&lt;/p&gt;
&lt;p&gt;Thanks alot and thanks again Vulken&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
Thomas Minton&lt;br /&gt;
&lt;a href=&quot;http://www.javaplace.co.uk&quot; class=&quot;bb-url&quot;&gt;The JavaScript Place&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.bepaid.com/users.rhtml?REFID=10138056&quot; class=&quot;bb-url&quot;&gt;Get paid $20 - $160 an hour for viewing adverts&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;[This message has been edited by minton (edited 24 June 2000).]&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 Jun 2000 15:47:00 +0000</pubDate>
 <dc:creator>minton</dc:creator>
 <guid isPermaLink="false">comment 1005134 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/writing-html-page#comment-1005133</link>
    <description> &lt;p&gt;Assuming that you are writing your html file like this..&lt;/p&gt;
&lt;p&gt;open (FILE &quot;&lt;strong&gt;&amp;gt;&amp;gt;&lt;/strong&gt;../file.html&quot;);&lt;br /&gt;
print FILE &quot;the page&quot;;&lt;br /&gt;
close (FILE);&lt;/p&gt;
&lt;p&gt;all you need to do to over write the old page is change &quot;&amp;gt;&amp;gt;&quot; to &quot;&amp;gt;&quot;. The two &amp;gt;&amp;gt; mean to append to the file. Any data sent to be written to it will be added to the end of the file. The single &amp;gt; means to write to the file overwriting the old contents. &lt;/p&gt;
&lt;p&gt;If you are worried about being able to keep some of the old contents I recommend using SSI to import an txt file that is created by your PERL script. That is what I do.&lt;/p&gt;
&lt;p&gt;VulKen&lt;br /&gt;
&lt;strong&gt;Chunky Cheese??&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 24 Jun 2000 13:23:00 +0000</pubDate>
 <dc:creator>Ken Elliott</dc:creator>
 <guid isPermaLink="false">comment 1005133 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
