<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001147" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001147</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-my-head-hurting#comment-1005009</link>
    <description> &lt;p&gt;I thought that start_html did that in the CGI module.&lt;/p&gt;
&lt;p&gt;Or maybe not&lt;/p&gt;
 </description>
     <pubDate>Tue, 13 Jun 2000 01:13:00 +0000</pubDate>
 <dc:creator>Orpheus</dc:creator>
 <guid isPermaLink="false">comment 1005009 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-my-head-hurting#comment-1005008</link>
    <description> &lt;p&gt;Premature end of script headers means you forgot to print the following before you printed the HTML:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;code:&lt;/p&gt;
&lt;pre&gt;print &quot;Content-type: text/html\n\n&quot;;[/code]

------------------
Critiquing over 1000 sites on the Internet today...

[This message has been edited by Justin Stayton (edited 12 June 2000).] &lt;/pre&gt;&lt;/blockquote&gt;</description>
     <pubDate>Mon, 12 Jun 2000 23:14:00 +0000</pubDate>
 <dc:creator>Justin S</dc:creator>
 <guid isPermaLink="false">comment 1005008 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-my-head-hurting#comment-1005007</link>
    <description> &lt;p&gt;Richard,&lt;/p&gt;
&lt;p&gt;thanks for that - but unfortunately that&lt;br /&gt;
hasn&#039;t sorted it out  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/frown.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt; sorry to be a&lt;br /&gt;
pain - any other ideas?&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Steve.&lt;br /&gt;
I&#039;ll owe you lot a bottle of something!&lt;br /&gt;
Not a bad sig  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Jun 2000 22:29:00 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1005007 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-my-head-hurting#comment-1005006</link>
    <description> &lt;p&gt;thanks for the reply - the messages&lt;br /&gt;
are:&lt;/p&gt;
&lt;p&gt;No such file or directory: exec of modify1.pl&lt;br /&gt;
failed&lt;/p&gt;
&lt;p&gt;Premature end of script headers&lt;/p&gt;
&lt;p&gt;I can&#039;t see what the problem is?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Jun 2000 22:21:00 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1005006 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-my-head-hurting#comment-1005005</link>
    <description> &lt;p&gt;The following code is wrong:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;code:&lt;/p&gt;
&lt;pre&gt;
if($s = &#039;modify&#039;)
[/code]

You can not use = unless it is a number, even then, it would have to be ==.  In a alpha-numeric case, you need to use eq.

&lt;BLOCKQUOTE&gt;code:&lt;pre&gt;
if($s eq &quot;modify&quot;)
[/code]

Hope that works...

Richard

------------------
      &lt;a href=&quot;mailto:richard@brevig.com&quot; class=&quot;bb-email&quot;&gt;richard@brevig.com&lt;/a&gt;       

I need a new signature.  :-( &lt;/pre&gt;&lt;/blockquote&gt;&lt;/pre&gt;&lt;/blockquote&gt;</description>
     <pubDate>Mon, 12 Jun 2000 22:16:00 +0000</pubDate>
 <dc:creator>richjb</dc:creator>
 <guid isPermaLink="false">comment 1005005 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-my-head-hurting#comment-1005004</link>
    <description> &lt;p&gt;what type error r u getting?&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.birminghamnet.com/search-engines/resources/webmaster_tools/&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;CLICK&lt;/strong&gt;&lt;/a&gt; 4 some tested resources for making money $, hosting, and web promotions.&lt;br /&gt;
&lt;a href=&quot;http://www.birminghamnet.com&quot; class=&quot;bb-url&quot;&gt;&lt;strong&gt;My Site&lt;/strong&gt;&lt;/a&gt; got hacked, but i&#039;m coming back?&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Jun 2000 22:04:00 +0000</pubDate>
 <dc:creator>fairhousing</dc:creator>
 <guid isPermaLink="false">comment 1005004 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/help-my-head-hurting#comment-1005002</link>
    <description> &lt;p&gt;Can anybody help or suggest where I might&lt;br /&gt;
be going wrong with the following script.&lt;br /&gt;
I&#039;ve been trying to fix it for that long&lt;br /&gt;
my head is hurting!&lt;/p&gt;
&lt;p&gt;What i&#039;m trying to do is to allow the user&lt;br /&gt;
to put in some details - which are then&lt;br /&gt;
checked against a file and the results&lt;br /&gt;
displayed - allowing them to enter new&lt;br /&gt;
details. All i&#039;ve been getting despite&lt;br /&gt;
my best? efforts is &#039;Internal Server Error&#039;&lt;/p&gt;
&lt;p&gt;Any ideas? Or is it completely wrong?&lt;/p&gt;
&lt;p&gt;Code:&lt;/p&gt;
&lt;p&gt;$u=param(&#039;domain&#039;);&lt;br /&gt;
$p=param(&#039;maiden_name&#039;);&lt;br /&gt;
$s=param(&#039;modify&#039;);&lt;/p&gt;
&lt;p&gt;if($s = &#039;modify&#039;)&lt;br /&gt;
           {             open(IN,&quot;register.txt&quot;)or die &quot;Cannot open file: $!&quot;;&lt;br /&gt;
                        @data = &amp;lt;IN&amp;gt;;&lt;br /&gt;
                        close(IN);&lt;br /&gt;
                        foreach $line (@data)&lt;br /&gt;
                        {&lt;br /&gt;
                                if( $line =~ m/^$u,$p,(.)/ )&lt;br /&gt;
                                {&lt;br /&gt;
                                  print &quot;Found: $line&quot;;&lt;br /&gt;
                                  #The correct username and password has been inputed&lt;br /&gt;
                                  #Insert code here to do whatever you want with the line&lt;br /&gt;
		 exit;&lt;br /&gt;
				  #Stop the script from going through the rest of the array&lt;br /&gt;
                                }&lt;br /&gt;
                        }&lt;/p&gt;
&lt;p&gt;		}&lt;/p&gt;
&lt;p&gt;Many thanks in advance for any assistance.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
 </description>
     <pubDate>Mon, 12 Jun 2000 14:08:00 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1005002 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
