codeexploiter
06-29-2006, 05:32 AM
Hello All,
The code snippet below seems to be very simple
**************Code Snippet Starts from here*********************
<?php
if($submit == "Go")
{
echo("You wrote ". $you_wrote);
echo("<br> You could have done whatever you want with the input instead");
exit;
}
else
{
echo("Nothing happend<br>");
}
?>
<form action="input.php" method="POST" name="f1">
Input a word <input type="text" size="20" name="you_wrote">
<input type="submit" name="submit" value="Go">
</form>
**************Code Snippet Ends here**************************
Whenever I enter something into the textbox and press 'Go' button it prints "Nothing Happend" and the form that contains a Textbox and a Go button.
According to some PHP books the above code should work. I am trying to handle the data from the user without using $_POST and $_GET php system based arrays.
Any help would be appreciated
Regards
Code Exploiter
The code snippet below seems to be very simple
**************Code Snippet Starts from here*********************
<?php
if($submit == "Go")
{
echo("You wrote ". $you_wrote);
echo("<br> You could have done whatever you want with the input instead");
exit;
}
else
{
echo("Nothing happend<br>");
}
?>
<form action="input.php" method="POST" name="f1">
Input a word <input type="text" size="20" name="you_wrote">
<input type="submit" name="submit" value="Go">
</form>
**************Code Snippet Ends here**************************
Whenever I enter something into the textbox and press 'Go' button it prints "Nothing Happend" and the form that contains a Textbox and a Go button.
According to some PHP books the above code should work. I am trying to handle the data from the user without using $_POST and $_GET php system based arrays.
Any help would be appreciated
Regards
Code Exploiter