<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1001161" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1001161</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/putting-multiple-files-1-array#comment-1005062</link>
    <description> &lt;p&gt;Ah man...I just wrote a whole post and couldn&#039;t post it because of flood control or something. It was more then 60 secs. Oh well here I go again. Well I guess it did add my post. I will delete this one.&lt;/p&gt;
&lt;p&gt;[Deleted]&lt;/p&gt;
&lt;p&gt;VulKen&lt;br /&gt;
&lt;strong&gt;Keepin&#039; It Realistic&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;[This message has been edited by VulKen (edited 19 June 2000).]&lt;/p&gt;
 </description>
     <pubDate>Mon, 19 Jun 2000 15:07:00 +0000</pubDate>
 <dc:creator>Ken Elliott</dc:creator>
 <guid isPermaLink="false">comment 1005062 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/putting-multiple-files-1-array#comment-1005061</link>
    <description> &lt;p&gt;I am not sure if this is the problem with your script, and I am not 100% sure if I am right. But I think you need to escape those single ticks &quot;&#039;&quot; (ie. I&#039;m = I\&#039;m). I might be wrong. I am not a professional PERL scripter, but I have yet to use the exit; key thingy. I don&#039;t know if you would need it in your script, if it is checking all of the conditions in succession.&lt;/p&gt;
&lt;p&gt;I don&#039;t think you meant to print it like this but at the end of your script you never added anything to do to the last if statement. Also it is not closed with a curly bracket &quot;}&quot;.&lt;/p&gt;
&lt;p&gt;Well that is all that I can think of. If none of that works tell us what happens when all of the correct info is entered.&lt;/p&gt;
 </description>
     <pubDate>Mon, 19 Jun 2000 15:01:00 +0000</pubDate>
 <dc:creator>Ken Elliott</dc:creator>
 <guid isPermaLink="false">comment 1005061 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/putting-multiple-files-1-array#comment-1005060</link>
    <description> &lt;p&gt;Okay, I can&#039;t tell if that works yet because I think another part of my script is messing.&lt;/p&gt;
&lt;p&gt;Is this an okay login script?&lt;br /&gt;
&lt;BLOCKQUOTE&gt;code:&lt;/blockquote&gt;&lt;/p&gt;
&lt;pre&gt;sub checkuser {
	foreach $line (@memberfile) {
     		($member, $username, $email, $userpass, $blabla) = split(/\|/, $line);
        if ($FORM{&#039;email&#039;} eq &quot;&quot;) {
		  			 &amp;header;
                print &quot;&amp;lt;B&amp;gt;&amp;lt;FONT FACE=\&quot;Verdana\&quot; SIZE=\&quot;2\&quot;&amp;gt;E-mail Required&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;I&#039;m sorry,\n&quot;;
                print &quot;but you need a to enter your e-mail address to login.&amp;lt;/FONT&amp;gt;\n&quot;;
					 &amp;footer;
                exit;
		  }
		  elsif ($FORM{&#039;userpass&#039;} eq &quot;&quot;) {
		  			 &amp;header;
                print &quot;&amp;lt;B&amp;gt;&amp;lt;FONT FACE=\&quot;Verdana\&quot; SIZE=\&quot;2\&quot;&amp;gt;Password Required&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;I&#039;m sorry,\n&quot;;
                print &quot;but you need a password to login.&amp;lt;/FONT&amp;gt;\n&quot;;
					 &amp;footer;
                exit;
        }
        if ($FORM{&#039;email&#039;} eq $email) {
		          if ($FORM{&#039;userpass&#039;} ne $userpass) {
		  			 &amp;header;
                print &quot;&amp;lt;B&amp;gt;&amp;lt;FONT FACE=\&quot;Verdana\&quot; SIZE=\&quot;2\&quot;&amp;gt;Bad Password&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;\n&quot;;
                print &quot;I&#039;m sorry, but the password you entered,\n&quot;;
                print &quot;&amp;lt;i&amp;gt;$FORM{&#039;userpass&#039;}&amp;lt;/i&amp;gt;, is incorrect.&amp;lt;/FONT&amp;gt;&quot;;
					 &amp;footer;
                exit;
        			}
		  }
        elsif ($FORM{&#039;email&#039;} ne $email) {
		  			 &amp;header;
                print &quot;&amp;lt;B&amp;gt;&amp;lt;FONT FACE=\&quot;Verdana\&quot; SIZE=\&quot;2\&quot;&amp;gt;Bad E-mail&amp;lt;/B&amp;gt;&amp;lt;BR&amp;gt;\n&quot;;
                print &quot;I&#039;m sorry, but the e-mail address you entered,\n&quot;;
                print &quot;&amp;lt;i&amp;gt;$FORM{&#039;email&#039;}&amp;lt;/i&amp;gt;, is incorrect.&amp;lt;/FONT&amp;gt;&quot;;
					 &amp;footer;
                exit;
       	}
        elsif ($FORM{&#039;email&#039;} eq $email) {
		          if ($FORM{&#039;userpass&#039;} eq $userpass) {
}
[/code]

It works if you enter anything wrong, but if you enter the correct login info, the next page doesn&#039;t display correctly. Once I get this fixed, I&#039;ll be able to see if my &quot;multiple files in same array&quot; problem is solved since the page that is displayed after I login is where the array is being used.

--Edge &lt;/pre&gt;</description>
     <pubDate>Mon, 19 Jun 2000 01:20:00 +0000</pubDate>
 <dc:creator>Edge</dc:creator>
 <guid isPermaLink="false">comment 1005060 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/putting-multiple-files-1-array#comment-1005059</link>
    <description> &lt;p&gt;The easiest way would to go&lt;br /&gt;
@polls = &amp;lt;/dir/*.txt&amp;gt;;&lt;br /&gt;
This would get all the different .txt files and place them in an array.&lt;/p&gt;
&lt;p&gt;Hope that helps.&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>Sat, 17 Jun 2000 19:04:00 +0000</pubDate>
 <dc:creator>Rob Pengelly</dc:creator>
 <guid isPermaLink="false">comment 1005059 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/putting-multiple-files-1-array#comment-1005058</link>
    <description> &lt;p&gt;Well this is a simple suggestion. You could assign each file to a scalar.&lt;br /&gt;
$file1 = &quot;file1.txt&quot;;&lt;br /&gt;
$file2 = &quot;file2.txt&quot;; #etc.&lt;/p&gt;
&lt;p&gt;And then add the scalars to the array.&lt;/p&gt;
&lt;p&gt;@files = &quot;$file1, $file2&quot;; #etc.&lt;/p&gt;
&lt;p&gt;Just a simple suggestion. PERL has many ways of accomplishing the same things.&lt;/p&gt;
&lt;p&gt;Hope it helps.&lt;br /&gt;
VulKen&lt;br /&gt;
&lt;strong&gt;Keepin&#039; It Realistic&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 17 Jun 2000 18:52:00 +0000</pubDate>
 <dc:creator>Ken Elliott</dc:creator>
 <guid isPermaLink="false">comment 1005058 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
