You are here: Re: Passing values from drop down menu « PHP Programming Language « IT news, forums, messages
Re: Passing values from drop down menu

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация