<div dir="ltr"><div><div>Try:<br>print "Your name $_GET['username'] <br>";<br>
print "you live in region: $_GET['region']";<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"><<a href="mailto:h.reindl@thelounge.net" target="_blank">h.reindl@thelounge.net</a>></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">> I don't know whether its my ignorance but I am having a problem wit form<br>
> processing through php. I wish some help. Small example below:<br>
><br>
> form.html ---------<br>
> <html><br>
> <body><br>
> <h1> Welcome to ABC Web Page </h1><br>
> <form action="formscripts/processForm.php" method="GET"><br>
> Enter Your Name:<br>
> <Input type="text" name="username"><br><br>
> Where do you live?<br>
> <input type="text" name="region"><b><br>
> <INPUT type="SUBMIT" name="submit" value="submit order" ><br>
> </form><br>
> </body><br>
> </html><br>
><br>
> processForm.php<br>
> ----------------<br>
> <html><br>
> <body><br>
> <h3> Your form is being processed </h3><br>
> <?php<br>
> print "Your name $username <br>";<br>
> print "you live iin region: $region";<br>
> ?><br>
> </body><br>
> </html><br>
><br>
> When I run form.html and click the submit , processForm.php is run but<br>
> $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>