<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001172" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001172</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005113</link>
    <description> &lt;p&gt;I emailed  &lt;a href=&quot;mailto:m00fbe00@mcmail.com&quot;&gt;m00fbe00@mcmail.com&lt;/a&gt; . That your email? &lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.thehungersite.com&quot; class=&quot;bb-url&quot;&gt;click here to help save lives&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 Jun 2000 15:53:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1005113 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005112</link>
    <description> &lt;p&gt;Rob,&lt;/p&gt;
&lt;p&gt;It&#039;s ok - i&#039;ve worked out the modification&lt;br /&gt;
problem - answered my own question -&lt;br /&gt;
put the details in the file in the&lt;br /&gt;
same order as I want to take them out.&lt;/p&gt;
&lt;p&gt;Just the little problem with the order&lt;br /&gt;
form now and that&#039;s it.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 Jun 2000 15:40:00 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1005112 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005111</link>
    <description> &lt;p&gt;Rob,&lt;/p&gt;
&lt;p&gt;Thanks - thought that was what the error bit was for. Does the information that is in&lt;br /&gt;
the registered.txt file have to be in a certain format or will it pick it up regardless? At the moment it just brings&lt;br /&gt;
up a blank screen regardless of what fills&lt;br /&gt;
the variables - maybe i&#039;ve put it in the wrong place or something - any ideas?&lt;br /&gt;
I can send you a copy of the dummy registered.txt file if that helps.&lt;/p&gt;
&lt;p&gt;On the order form the first page (0rder1)&lt;br /&gt;
works as it should but if you don&#039;t enter&lt;br /&gt;
any details in the second page (order2)&lt;br /&gt;
when it checks the domain again it comes up&lt;br /&gt;
as registered the second time around. I&#039;ve&lt;br /&gt;
put the script that you gave me but maybe&lt;br /&gt;
i&#039;ve not put it in the right place - Do&lt;br /&gt;
you still have a copy of order3 that was&lt;br /&gt;
on your site last night? Could you email&lt;br /&gt;
it to me if you have so that I can compare&lt;br /&gt;
the two.&lt;/p&gt;
&lt;p&gt;Sorry  to be a pain.&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 Jun 2000 14:54:00 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1005111 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005110</link>
    <description> &lt;p&gt;the &quot;error&quot; was just supose tot ell you that that was where the error would go  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/wink.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;.  It may be a good idea to print some HTML telling the person to go back and fill in the form correctly again or something.&lt;br /&gt;
Or just put code to forward the user back to the modify.pl&lt;/p&gt;
&lt;p&gt;If you do want to display a button to my site in return for my modest help, you can find my button/html code at &lt;a href=&quot;http://www.wiredstart.com/aboutus.php3&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com/aboutus.php3&lt;/a&gt;   &lt;img src=&quot;http://www.webmaster-forums.com/ubb/smile.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;Thanks!&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.thehungersite.com&quot; class=&quot;bb-url&quot;&gt;click here to help save lives&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 Jun 2000 01:08:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1005110 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005109</link>
    <description> &lt;p&gt;Rob,&lt;/p&gt;
&lt;p&gt;You are a star!!  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/cool.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;The order form bits work great!&lt;/p&gt;
&lt;p&gt;I will have another play tommorow with&lt;br /&gt;
the modify file but at the moment it doesn&#039;t&lt;br /&gt;
seem to like the code at the end that says:&lt;/p&gt;
&lt;p&gt;{&lt;br /&gt;
        error&lt;br /&gt;
        exit();&lt;br /&gt;
             }&lt;/p&gt;
&lt;p&gt;It throws up an internal server error - when&lt;br /&gt;
I removed the &quot;error&quot; part and ran the script&lt;br /&gt;
it brought up a blank page  &lt;img src=&quot;http://www.webmaster-forums.com/ubb/confused.gif&quot; alt=&quot;&quot; class=&quot;bb-image&quot; /&gt;&lt;/p&gt;
&lt;p&gt;It may be something i&#039;m doing so i&#039;ll have another play tommorow.&lt;/p&gt;
&lt;p&gt;MANY THANKS for your assistance - if you&#039;ve&lt;br /&gt;
got a button advert for a site that you want&lt;br /&gt;
promoting send it over and I will put it&lt;br /&gt;
on the site for a couple of months - it will&lt;br /&gt;
be on quite a few pages!&lt;/p&gt;
&lt;p&gt;Thanks Again&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
 </description>
     <pubDate>Thu, 22 Jun 2000 01:00:00 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1005109 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005108</link>
    <description> &lt;p&gt;Alright, in order2.pl at the top place&lt;br /&gt;
&lt;BLOCKQUOTE&gt;code:&lt;/blockquote&gt;&lt;/p&gt;
&lt;pre&gt;
if(!param(&#039;domain&#039;))
{
	$url = &quot;http://www.wiredstart.com/cgi-bin/order1.pl&quot;;
	print &quot;Location: $url\nURI: $url\n\n&quot;;
	exit();
}
[/code]

In order3.pl at the top
&lt;BLOCKQUOTE&gt;code:&lt;pre&gt;
if(!param(&#039;name&#039;) | | !param(&#039;address1&#039;) | | !param(&#039;postcode&#039;) | | !param(&#039;country&#039;) | | !param(&#039;telephone&#039;) | | !param(&#039;email&#039;) | | !param(&#039;maiden_name&#039;))
{
	$url = &quot;http://www.wiredstart.com/cgi-bin/order2.pl&quot;;
	$url .= &quot;?domain=&quot;.param(&#039;domain&#039;).&quot;®istry=&quot;.param(&#039;registry&#039;);
	print &quot;Location: $url\nURI: $url\n\n&quot;;
	exit();
}
[/code]

And in modify2.pl, although I haven&#039;t tested it, something like this should work:
&lt;BLOCKQUOTE&gt;code:&lt;pre&gt;
$count=0;
$file = &#039;registered.txt&#039;;
open(IN,$file);
@domains = &amp;lt;IN&amp;gt;;
close(IN);

$match = param(&#039;domain&#039;).param(&#039;registry&#039;).&quot;,&quot;.param(&#039;email&#039;).&quot;,&quot;.param(&#039;maiden_name&#039;);
foreach(@domains)
{
	$count=1 if($_ =~ m/$match/i);
}
if($count==0)
{
	error
	exit();
}
[/code]

You can see the order stuff working fne at &lt;a href=&quot;http://www.wiredstart.com/cgi-bin/order1.pl&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com/cgi-bin/order1.pl&lt;/a&gt; 

I will delete it after you reply.
*Edit
UBB seems to place spaces between the &amp;#0124; &amp;#0124;.  You should delete those spaces.

------------------
&lt;a href=&quot;http://www.thehungersite.com&quot; class=&quot;bb-url&quot;&gt;click here to help save lives&lt;/a&gt;
&lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page

[This message has been edited by robp (edited 21 June 2000).] &lt;/pre&gt;&lt;/blockquote&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;/pre&gt;</description>
     <pubDate>Wed, 21 Jun 2000 21:20:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1005108 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005107</link>
    <description> &lt;p&gt;Rob,&lt;/p&gt;
&lt;p&gt;yep that&#039;s right i&#039;ve copied the two files&lt;br /&gt;
order3 &amp;amp; order4.&lt;/p&gt;
&lt;p&gt;order3 has some fields in it but they don&#039;t&lt;br /&gt;
need to be required if that helps.&lt;/p&gt;
&lt;p&gt;You can mail me direct if it&#039;s more&lt;br /&gt;
helpful to you.&lt;/p&gt;
&lt;p&gt;Thanks again&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Jun 2000 20:34:00 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1005107 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005106</link>
    <description> &lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;     I will need the source code for order3.pl because that is where all the form values from order2.pl are sent correct?&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.thehungersite.com&quot; class=&quot;bb-url&quot;&gt;click here to help save lives&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Jun 2000 20:17:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1005106 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005105</link>
    <description> &lt;p&gt;thanks Rob,&lt;/p&gt;
&lt;p&gt;Well order1 contains the bit where the&lt;br /&gt;
customer enters the domain name that&lt;br /&gt;
they want which is then passed to order2&lt;br /&gt;
to check for availabilty:&lt;/p&gt;
&lt;p&gt;Here it is:&lt;br /&gt;
 &lt;a href=&quot;http://www.branditnow.co.uk/temp/order1.txt&quot; class=&quot;bb-url&quot;&gt;http://www.branditnow.co.uk/temp/order1.txt&lt;/a&gt;  &lt;/p&gt;
&lt;p&gt;Thanks again.&lt;/p&gt;
&lt;p&gt;Steve&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Jun 2000 17:43:00 +0000</pubDate>
 <dc:creator>myriad</dc:creator>
 <guid isPermaLink="false">comment 1005105 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/perl-help-please#comment-1005104</link>
    <description> &lt;p&gt;So order1.pl contains the first form?  If so, can you post the source for that, because inside order1.pl is where the first additional code would be placed to make sure all the fields are present.&lt;/p&gt;
&lt;p&gt;------------------&lt;br /&gt;
&lt;a href=&quot;http://www.thehungersite.com&quot; class=&quot;bb-url&quot;&gt;click here to help save lives&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.wiredstart.com&quot; class=&quot;bb-url&quot;&gt;http://www.wiredstart.com&lt;/a&gt;  : The Technology Start Page&lt;/p&gt;
 </description>
     <pubDate>Wed, 21 Jun 2000 17:33:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1005104 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
