<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021734" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021734</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1135110</link>
    <description> &lt;p&gt;from elsewhere....&lt;br /&gt;
&lt;blockquote class=&quot;bb-quote-body&quot;&gt;Quote: &lt;em&gt;Originally posted by nikolai&lt;/em&gt;&lt;br /&gt;
Okay -- look closely at your phpinfo() output.  What&#039;s the value of &quot;file_uploads&quot;?&lt;/blockquote&gt;&lt;/p&gt;
&lt;p&gt;No value!  PHP isn&#039;t configured to handle or allow file uploads.  My guess is that PHP sees an incoming file, knows it&#039;s not configured to handle it, so throws away the incoming data.&lt;/p&gt;
&lt;p&gt;The only thing to do is to ask the system administrator to enable file uploads in PHP.  For security reasons, they should also upgrade PHP to the latest stable version.&lt;/p&gt;
&lt;p&gt;Take care,&lt;/p&gt;
&lt;p&gt;Nik&lt;br /&gt;
&lt;a href=&quot;http://www.bigaction.org/&quot; class=&quot;bb-url&quot;&gt;http://www.bigaction.org/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;nice to know that. since it works without the file uploads, it should work when i move off this.&lt;/p&gt;
&lt;p&gt;that means i&#039;ve been playing with this for a few weeks pointlessly. oh well. it helped me tweak a bunch of things prior to getting to the db&lt;/p&gt;
 </description>
     <pubDate>Fri, 25 Jul 2003 17:58:25 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1135110 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134451</link>
    <description> &lt;p&gt;i inserted another debugging line that proves that NOTHING is being passed at step 4. i tried something on a hunch...&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://people.brandeis.edu/~m3rajk/JMT/preview/phpprev/varsignup.php&quot; class=&quot;bb-url&quot;&gt;http://people.brandeis.edu/~m3rajk/JMT/preview/phpprev/varsignup.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;in this one i changed:&lt;br /&gt;
to: &lt;/p&gt;
&lt;p&gt;it works there, but i don&#039;t know if the pictures would upload (i don&#039;t think i have access to the upload directory on that server, please don&#039;t try to test that) would it upload right without that line?&lt;/p&gt;
 </description>
     <pubDate>Tue, 15 Jul 2003 00:27:56 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1134451 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134381</link>
    <description> &lt;p&gt;when you sign up for aim, it doesn&#039;t let you use spaces, those are formatting after, but still limited to 16 characters. as far as i know, only characters matched in \w are allowed&lt;/p&gt;
&lt;p&gt;after checking with &lt;a href=&quot;http://www.aim.com....&quot; class=&quot;bb-url&quot;&gt;aim.com....&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;valid aim characters: 3-16 letters or numbers, must begin with a letter&lt;/p&gt;
&lt;p&gt;so \w{3,16} and \w\w\w+ with the feild restricted to 16 characters on input works.&lt;br /&gt;
now those are working. back to the original issue... the step not being picked up&lt;/p&gt;
&lt;p&gt;just an issue with looks. i&#039;m going to remove the border, but the button wont move with valign. the rest will. i don&#039;t understand why (this is for the nav bar. i added it to the signup since it&#039;s in some. both of the graphics people have pressing issues right now (one&#039;s mom died the other one was having a breakdown and i couldn&#039;t figure out why, the fact they come to me shows the type of person i am. it wouldn&#039;t be right to talk of the site right now with them or ask for graphics. they need someoen who&#039;ll sit and listen and just be there for them) so i&#039;m trying to get a text version up and running... the signup is the missing link right now. wellthe &quot;navigation bar&quot; issue is just ie. mozilla and netscape display right. still, i expect most to use ie. if i make it top for valign and get rid of the border, it should look ok&lt;/p&gt;
 </description>
     <pubDate>Fri, 11 Jul 2003 22:41:46 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1134381 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134324</link>
    <description> &lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;if ($aim==&amp;#039;&amp;#039; || !preg_match(&amp;#039;/^(\w| )+$/&amp;#039;, $aim)) {&lt;/code&gt;&lt;/div&gt;&#039;You&#039;re doing it the hard way trying to preg_match() everything.  If simple string comparisions will do, use them.  They are much easier on system resources and execute faster.  I don&#039;t know what a valid AIM looks like, so I just used work characters and spaces.&lt;/p&gt;
 </description>
     <pubDate>Fri, 11 Jul 2003 06:17:39 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1134324 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134320</link>
    <description> &lt;p&gt;the string: !@#$%^&amp;amp;*)asdfsad is still being called ok while a blank entry is coming up as bad&lt;/p&gt;
 </description>
     <pubDate>Fri, 11 Jul 2003 01:38:06 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1134320 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134319</link>
    <description> &lt;p&gt;i changed &lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if((isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;preg_match&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/[\w\- ]+/&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)))){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$badaim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warns&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[]=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Your AIM sn looks to be invalid. If you had no errors in the required, then it was not entered. Please go to your site control panel after signing in if you wish to have it public.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;to&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if((isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;((!(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;preg_match&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/^[\w\- ]+$/&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)))||(!(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;preg_match&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/^$/&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))))){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$badaim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warns&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[]=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Your AIM sn looks to be invalid. If you had no errors in the required, then it was not entered. Please go t\&lt;br /&gt;o your site control panel after signing in if you wish to have it public.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;to test that&lt;br /&gt;
if i&#039;m not mistaken that changes the match from merely having word characters, to being only word characters, or nothing. i&#039;ll repost back after testing. if someone could just assure me i did it right if the blank entry works (the first part&#039;s manipulation) it would be nice to know that i got it working right&lt;/p&gt;
 </description>
     <pubDate>Fri, 11 Jul 2003 01:28:32 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1134319 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134317</link>
    <description> &lt;p&gt;druagord: i tried that and it didn&#039;t work&lt;/p&gt;
&lt;p&gt;mark: i tried to test issue 2 against &#039; &#039; and ... dammit! empty string should be &#039;&#039; not &#039; &#039; let me try that. and thank you for the response on number 3. that was part of why there isn&#039;t an actual check on the username yet. i wasn&#039;t sure how mysql would return a check on the name (the other part being the lack of validation so i haven&#039;t made the db since i&#039;ve been tweaking things... also because mysql is not making users when i give it the line &quot;GRANT USAGE TO visitor IDENTIFIED BY visitor&quot;&lt;/p&gt;
&lt;p&gt;i want to make a few levels int he hopes i can have a few on whatever server space i get, so that if something happens and someone gets a  page they shouldn&#039;t get to they won&#039;t have any added abilities, so the possible damage will be limited&lt;/p&gt;
 </description>
     <pubDate>Fri, 11 Jul 2003 00:39:23 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1134317 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134270</link>
    <description> &lt;p&gt;did you try putting the hidden field step after the MAX_FILE_SIZE or after the file field when all else fails this kind of thing might help&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Jul 2003 22:00:11 +0000</pubDate>
 <dc:creator>druagord</dc:creator>
 <guid isPermaLink="false">comment 1134270 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134262</link>
    <description> &lt;p&gt;1 - I have no idea what&#039;s wrong.&lt;/p&gt;
&lt;p&gt;2 - Test for an empty string.  The vars will always be set, but will not always contain a value.&lt;/p&gt;
&lt;p&gt;3 - !$user will be true if the query fails.  You want mysql_num_rows($user)&amp;gt;0.&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Jul 2003 20:31:24 +0000</pubDate>
 <dc:creator>Mark Hensler</dc:creator>
 <guid isPermaLink="false">comment 1134262 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/why-isnt-html-passing-first-variable-php#comment-1134241</link>
    <description> &lt;p&gt;&lt;a href=&quot;http://people.brandeis.edu/~m3rajk/JMT/preview/phpprev/signup.txt&quot; class=&quot;bb-url&quot;&gt;http://people.brandeis.edu/~m3rajk/JMT/preview/phpprev/signup.txt&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://people.brandeis.edu/~m3rajk/JMT/preview/phpprev/signup.php&quot; class=&quot;bb-url&quot;&gt;http://people.brandeis.edu/~m3rajk/JMT/preview/phpprev/signup.php&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;between the changes in the sign up, i figured it&#039;s time to start fresh. so here&#039;s what&#039;s going on right now....&lt;/p&gt;
&lt;p&gt;issue 1 (most problematic) -- step does not get picked up by php after submission of step 4. step 4 is created by this function&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;function &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;s4&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;THIS IS A TEST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;IT DOES NOT HAVE A DATABASE CONNECTION NOR DOES IT CHECK USERNAMES&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;THIS LINE WILL BE REMOVED IN THE REAL ONE &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;h1&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;p&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Thank you &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;for &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;your interest in joining FindYourDesire&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;com&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;We need to know some things about you in order to make your profile here&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;. &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Any feild in &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;font color&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;#ff0000\&quot;&amp;gt;RED&amp;lt;/font&amp;gt; is required. Any feild marked with an * is confidential and will NOT show up in your user stats. Any feild with a &amp;amp;#176; will not show up in your user stats, but is collected for future features. You will be notified before they are used.&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h2&amp;gt;NOTE: MAXIMUM PICTURE SIZE IS 150 KB&amp;lt;/h2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;form enctype=\&quot;multipart/form-data\&quot; action=\&quot; echo &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_SERVER&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;PHP_SELF&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;; \&quot; method=\&quot;POST\&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;input type=\&quot;hidden\&quot; name=\&quot;step\&quot; value=\&quot;5\&quot;&amp;gt;&amp;lt;input type=\&quot;hidden\&quot; name=\&quot;MAX_FILE_SIZE\&quot; value=\&quot;153600\&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;table frame=\&quot;void\&quot; bgcolor=\&quot;#000000\&quot; border=\&quot;0\&quot; cellpadding=\&quot;0\&quot; cellspacing=\&quot;0\&quot; text=\&quot;#c8c8c8\&quot;&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Your &amp;lt;a name=\&quot;#confcode\&quot; href=\&quot;#confcode\&quot; onClick=\&quot;window.open(&#039;faq.php?seek=confcode&#039;, &#039;faq&#039;, &#039;width=500,height=250,scrollbars=yes&#039;);\&quot;&amp;gt;Confirmation Code&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;text\&quot; name=\&quot;conf\&quot; size=\&quot;25\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Upload your main picture&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;file\&quot;&amp;nbsp; accept=\&quot;image/jpeg\&quot; name=\&quot;main\&quot; size=\&quot;25\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Upload Thumb 1&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;file\&quot;&amp;nbsp; accept=\&quot;image/jpeg\&quot; name=\&quot;t1\&quot; size=\&quot;25\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Upload Thumb 2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;file\&quot;&amp;nbsp; accept=\&quot;image/jpeg\&quot; name=\&quot;t2\&quot; size=\&quot;25\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Upload Thumb 3&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;file\&quot;&amp;nbsp; accept=\&quot;image/jpeg\&quot; name=\&quot;t3\&quot; size=\&quot;25\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Upload Thumb 4&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;file\&quot;&amp;nbsp; accept=\&quot;image/jpeg\&quot; name=\&quot;t4\&quot; size=\&quot;25\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;Upload your &amp;lt;a name=\&quot;#salute\&quot; href=\&quot;#salute\&quot; onClick=\&quot;window.open(&#039;faq.php?seek=salute&#039;, &#039;faq&#039;, &#039;width=500,height=250,scrollbars=yes&#039;);\&quot;&amp;gt;salute&amp;lt;/a&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;file\&quot;&amp;nbsp; accept=\&quot;image/jpeg\&quot; name=\&quot;salute\&quot; size=\&quot;25\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;tr&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;submit\&quot; value=\&quot;Go To The Next Step\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;input type=\&quot;reset\&quot; value=\&quot;Restart This Step\&quot;&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/table&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/center&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;br /&gt;&amp;lt;/html&amp;gt;&lt;br /&gt; &lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;issue 2 (annoying but doesn&#039;t need to be resolved before i go further with this) -- error checking on aim, icq, msn and yim gets set off for empty entries. right now i&#039;m not sure if it&#039;s setting the variables to empty strings or to null. i haven&#039;t had a chance to test this. i&#039;m also not sure how to maniuplate the preg_match so that it makes sure the entire string fits the pattern? checks on these&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;# check that aim/msn/yim are valid&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;if((isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;preg_match&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/^[\w\- ]+$/&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$aim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)))){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$badaim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warns&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[]=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Your AIM sn looks to be invalid. If you had no errors in the required, then it was not entered. Please go to your site control panel after signing in if you wish to have it public.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$icq&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;preg_match&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/^\d+$/&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$icq&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)))){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$badicq&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warns&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[]=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Your icq uid looks to be invalid. If you had no errors in the required, then it was not entered. Please go to your site control panel after signing in if you wish to have it public.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$msn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;preg_match&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/^[\w\-\.]+(@[\w\.\-]+\.\w\w\w?)?/&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$msn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)))){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$badmsn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warns&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[]=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Your MSN id/email looks to be invalid. If you had no errors in the required, then it was not entered. Please go to your site control panel after signing in if you wish to have it public.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if((isset(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$yim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;))&amp;amp;&amp;amp;(!(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;preg_match&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;/^[\w\- ]+$/&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$yim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)))){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warn&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$badyim&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$warns&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[]=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;Your YIM sn looks to be invalid. If you had no errors in the required, then it was not entered. Please go to your site control panel after signing in if you wish to have it public.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;issue 3 (actually it&#039;s more of a question since i haven&#039;t added the db yet since i want to be sure all the php is working first) -- when trying a query, does the return when it&#039;s not there come through as NULL &#039;false&#039; 0 or some other sign of not getting a match? ie: would [php&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #000000&quot;&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;&amp;lt;?php&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; $db&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_connect&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;Ashes&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;visitor&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;visitor&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;mysql_query&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;SELECT * FROM (main table) WHERE user=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$un&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$db&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;color: #FF8000&quot;&gt;#&amp;lt;--- main table not set&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;elseif(!(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$user&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;)){&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$err&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;TRUE&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$errs&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[]=&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;That username is already in use. Please choose a new username.&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;; &lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$step&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;;}&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;[/php] work?&lt;/p&gt;
&lt;p&gt;thanx in advance for your insight.&lt;/p&gt;
&lt;p&gt;-m3rajk&lt;/p&gt;
 </description>
     <pubDate>Wed, 09 Jul 2003 13:26:57 +0000</pubDate>
 <dc:creator>m3rajk</dc:creator>
 <guid isPermaLink="false">comment 1134241 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
