<form id="bireysel" name="form_bireysel" method="POST" action="x.php?do" enctype="application/x-www-form-urlencoded"> <!-- form is here --> </form>
if ($_POST["do"]) { foreach($_POST as $a=>$b){ echo $a. " : ". $b."<br/>"; } }
<form id="bireysel" name="form_bireysel" method="POST" action="x.php?badsl"> <!-- form is here --> </form>
if ($_POST["badsl"]) { foreach($_POST as $a=>$b){ echo $a. " : ". $b."<br/>"; } }
http://localhost//x.php?kullaniciadi.....
action="x.php?badsl"
if ($_POST["badsl"]) {
<form id="form1" name="form1" method="GET" action="x.php?badsl"> <input type="text" name="textfield" /><br /> <input type="text" name="textfield2" /><br /> <input type="submit" name="Submit" value="Submit" /> </form>
<?php if($_GET['badsl']){ foreach($_GET as $a=>$b){ echo $a." : ".$b."<br/>"; } }
http://localhost/x.php?textfield=sda&textfield2=dsfad&Submit=Submit
<form id="form1" name="form1" method="POST" action="x.php?badsl=1"> <input type="text" name="textfield" /><br /> <input type="text" name="textfield2" /><br /> <input type="submit" value="Submit" /> </form>
if (isset($_GET['badsl'])) { foreach($_POST as $a => $b) { echo $a." : ".$b."<br/>"; } }