Search is under maintenance, so I haven't searched Tek-Tips...
<Newbie-warning>
To send data from a form to a php-file, does register_globals always have tp be set to On?
This little form:
<form name="form1" method="post" action="test.php">
<input name="t1" type="text">
<input name="t2" type="text">
<input type="submit" name="Submit" value="Submit">
</form>
is supposed to be recieved by this:
<?php
echo $t1;
echo $t2;
?>
Is there a way to do this with register_globals set to Off? I tried $_GET['t1'] without luck...
</Newbie-warning>
<Newbie-warning>
To send data from a form to a php-file, does register_globals always have tp be set to On?
This little form:
<form name="form1" method="post" action="test.php">
<input name="t1" type="text">
<input name="t2" type="text">
<input type="submit" name="Submit" value="Submit">
</form>
is supposed to be recieved by this:
<?php
echo $t1;
echo $t2;
?>
Is there a way to do this with register_globals set to Off? I tried $_GET['t1'] without luck...
</Newbie-warning>