How $_REQUEST handles if there is a conflict b/w a get key and a post key. for example:
<form action="ex.php?key=1234" method="post">
<input type="text" name="key" value="abcd"/>
<input type="submit" name="submit" value="submit">
</form>
what will be the output if i write this in ex.php:
echo $_REQUEST["key"];
It depends on the configuration. In your
php.iniyou can set the order of the request parameters.See http://www.php.net/manual/en/ini.core.php#ini.variables-order for more information.