Posted by Ivn Snchez Ortega on 02/06/06 11:09
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
barbarowa@yahoo.com wrote:
>>And why exactly are you mixing $_POST and $HTTP_POST_VARS?
>
> Just hoping to see what variable values are being passed.
Then use something like:
<?php
if (isset($_POST))
{
echo '$_POST: '; print_r($_POST); exit;
}
else if (isset($HTTP_POST_VARS))
{
echo '$HTTP_POST_VARS: '; print_r($HTTP_POST_VARS); exit;
}
?>
Think about:
- - What if $_POST gets a value but $HTTP_POST_VARS does not? (and the other
way round)
- - What if $_POST['testform'] gets a value of 0, oran empty string, that will
evaluate as false?
- --
- ----------------------------------
Iván Sánchez Ortega -i-punto-sanchez--arroba-mirame-punto-net
La política es un acto de equilibrio entre la gente que quiere entrar y
aquellos que no quieren salir.
-- Jacques Benigne Bossuet. (1627-1704) Filósofo francés.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD5xJY3jcQ2mg3Pc8RAhyUAJsHjEPEvdb1bgo4etjZRJIgHv8xVgCghsJy
bhKhGQRRTJ659hQWjH2+5fk=
=PHG+
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|