Created
October 24, 2013 00:46
-
-
Save anonymous/7129407 to your computer and use it in GitHub Desktop.
Here is a sample code where in the origpage.php passed the value to targetpage_is_very_long.php. The targetpage must be rewrite to targetpage.php.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo '<form method="POST" action="targetpage_is_very_long.php">'; | |
echo '<input type="text" name="txt1" value="this is a sample">'; | |
echo '<input type="submit" name="submit">'; | |
echo'</form>'; | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (isset($_POST['submit'])) | |
{ | |
echo $_POST['txt1']; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment