Hi! I'm not so modern and got used to write "old codes". 
So, tell me please, how to send data from form to another page when Register_globals is off?
I meant in file 1.php:
<form action="2.php" method="POST"> ---///"GET" - whatever///---
<input type="text" size="5" name="word">
<input type="submit" value="Send to 2.php">
</form>
When Register_globals is off - we can't get the definition
of "word" variable in 2.php
Thank you!
Edit:
I found it. It comes into $_POST['word']
Edit:
I wonder how to make such transformations automatically:
$_GET['a'] => $a
$_POST['b'] => $b
$HTTP_COOKIE_VARS['c'] => $c
Any ideas?
So, tell me please, how to send data from form to another page when Register_globals is off?
I meant in file 1.php:
<form action="2.php" method="POST"> ---///"GET" - whatever///---
<input type="text" size="5" name="word">
<input type="submit" value="Send to 2.php">
</form>
When Register_globals is off - we can't get the definition
of "word" variable in 2.php
Thank you!
Edit:
When Register_globals is off - we can't get the definition
of "word" variable in 2.php
I found it. It comes into $_POST['word']
Edit:
I wonder how to make such transformations automatically:
$_GET['a'] => $a
$_POST['b'] => $b
$HTTP_COOKIE_VARS['c'] => $c
Any ideas?
Last edited: