<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1021716" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1021716</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/anything-wrong#comment-1133860</link>
    <description> &lt;p&gt;Just a note. If the echo message works. Then Registered globals are one and you can do that $formfieldname stuff. However it is recommended by the PHP docs to use the $_POST[&#039;formfieldname&#039;] method because if you ever switch servers,have that turned off on the server, or go to distribute the program it can cause problems. Plus it is a security risk.&lt;/p&gt;
&lt;p&gt;The $formfieldname can be modified via a URL or &quot;GET&quot; form method.&lt;/p&gt;
&lt;p&gt;using $POST[] ensures that the value come from a form &quot;POST&quot; method.&lt;/p&gt;
 </description>
     <pubDate>Mon, 30 Jun 2003 13:24:11 +0000</pubDate>
 <dc:creator>ShaneS</dc:creator>
 <guid isPermaLink="false">comment 1133860 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/anything-wrong#comment-1133856</link>
    <description> &lt;p&gt;Thanks for the help, and the heads-up on HTML&#039;s moodiness.&lt;/p&gt;
&lt;p&gt;I modified the POST quotes &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;, and I think that fixed it.  Here&#039;s the final code.&lt;/p&gt;
&lt;p&gt;The Form&lt;br /&gt;
==========&lt;/p&gt;
&lt;p&gt;The Processor&lt;br /&gt;
=============&lt;br /&gt;
if (($_POST[&#039;subemail&#039;]==&quot;&quot;) || ($_POST[&#039;subemail&#039;]==NULL))&lt;br /&gt;
{&lt;br /&gt;
header (&quot;Location: noemail.htm&quot;);&lt;br /&gt;
} &lt;/p&gt;
&lt;p&gt;else&lt;br /&gt;
{&lt;br /&gt;
echo &quot;It works and my email is $subemail&quot;;&lt;br /&gt;
}&lt;/p&gt;
 </description>
     <pubDate>Mon, 30 Jun 2003 11:22:39 +0000</pubDate>
 <dc:creator>shanda</dc:creator>
 <guid isPermaLink="false">comment 1133856 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/anything-wrong#comment-1133849</link>
    <description> &lt;p&gt;shanda: your method requires registered globals to be on if I am not mistaken. Renegade has given you the proper code and comment on the &quot;post&quot; thing.&lt;/p&gt;
&lt;p&gt;HTML gets cranky if you are inconsistent, meaning you quote one attribute and don&#039;t on another.&lt;/p&gt;
&lt;p&gt;If you can&#039;t get renegades to work&lt;/p&gt;
&lt;p&gt;simple echo both values out and see if they contain something.&lt;/p&gt;
&lt;p&gt;If not then that would equal &quot;&quot;, but try NULL instead or even add an OR with NULL&lt;/p&gt;
 </description>
     <pubDate>Mon, 30 Jun 2003 03:13:58 +0000</pubDate>
 <dc:creator>ShaneS</dc:creator>
 <guid isPermaLink="false">comment 1133849 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/anything-wrong#comment-1133846</link>
    <description> &lt;p&gt;try:&lt;br /&gt;
&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;if(&lt;/span&gt;&lt;span style=&quot;color: #0000BB&quot;&gt;$_POST&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;[&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&#039;subemail&#039;&lt;/span&gt;&lt;span style=&quot;color: #007700&quot;&gt;]==\&lt;/span&gt;&lt;span style=&quot;color: #DD0000&quot;&gt;&quot;\&quot;) {&lt;br /&gt;header (\&quot;Location: noemail.htm\&quot;);&lt;br /&gt;}&lt;br /&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;and don&#039;t forget to put quotes around method=&quot;POST&quot; &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/big.png&quot; title=&quot;Laughing out loud&quot; alt=&quot;Laughing out loud&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Mon, 30 Jun 2003 03:07:11 +0000</pubDate>
 <dc:creator>Renegade</dc:creator>
 <guid isPermaLink="false">comment 1133846 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
