<div dir="ltr"><div><div>Try:<br>print &quot;Your name $_GET[&#39;username&#39;] &lt;br&gt;&quot;;<br>
print &quot;you live in region: $_GET[&#39;region&#39;]&quot;;<br><br></div>Look at all the examples in <br><a href="http://php.net/manual/en/reserved.variables.get.php">http://php.net/manual/en/reserved.variables.get.php</a><br>
<br></div>Good Luck!!!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 8, 2013 at 7:36 AM, Reindl Harald <span dir="ltr">&lt;<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
Am 08.03.2013 16:32, schrieb Aaron Konstam:<br>
<div><div class="h5">&gt; I don&#39;t know whether its my ignorance but I am having a problem wit form<br>
&gt; processing through php. I wish some help. Small example below:<br>
&gt;<br>
&gt;       form.html        ---------<br>
&gt; &lt;html&gt;<br>
&gt; &lt;body&gt;<br>
&gt; &lt;h1&gt; Welcome to ABC Web Page &lt;/h1&gt;<br>
&gt; &lt;form action=&quot;formscripts/processForm.php&quot; method=&quot;GET&quot;&gt;<br>
&gt; Enter Your Name:<br>
&gt; &lt;Input type=&quot;text&quot; name=&quot;username&quot;&gt;&lt;br&gt;<br>
&gt; Where do you live?<br>
&gt; &lt;input type=&quot;text&quot; name=&quot;region&quot;&gt;&lt;b&gt;<br>
&gt; &lt;INPUT type=&quot;SUBMIT&quot; name=&quot;submit&quot; value=&quot;submit order&quot; &gt;<br>
&gt; &lt;/form&gt;<br>
&gt; &lt;/body&gt;<br>
&gt; &lt;/html&gt;<br>
&gt;<br>
&gt;         processForm.php<br>
&gt;         ----------------<br>
&gt; &lt;html&gt;<br>
&gt; &lt;body&gt;<br>
&gt;  &lt;h3&gt; Your form is being processed &lt;/h3&gt;<br>
&gt; &lt;?php<br>
&gt; print &quot;Your name $username &lt;br&gt;&quot;;<br>
&gt; print &quot;you live iin region: $region&quot;;<br>
&gt; ?&gt;<br>
&gt; &lt;/body&gt;<br>
&gt; &lt;/html&gt;<br>
&gt;<br>
&gt; When I run form.html and click the submit , processForm.php is run but<br>
&gt; $username and $region is not transferred. Why is that?<br>
<br>
</div></div>oh my god<br>
<br>
* register_globals is dead since years<br>
* echo unsanitized user input is pure XSS<br>
* unedfined variables are unsexy<br>
* method GET form forms is bad and insecure for passwords due history<br>
<br>
<br>--<br>
users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Mailing_list_guidelines" target="_blank">http://fedoraproject.org/wiki/Mailing_list_guidelines</a><br>
Have a question? Ask away: <a href="http://ask.fedoraproject.org" target="_blank">http://ask.fedoraproject.org</a><br>
<br></blockquote></div><br></div>