On Wed, 2005-02-23 at 16:39 -0500, Will Beers wrote:
> Matthew Fonda wrote:
> > $HTTP_*_VARS is deprecated in PHP5, so if the server is running PHP5,
> > this code won't work. Instead, you should use $_POST
>
> On this subject, is there anything 'wrong' with using $_REQUEST instead of
> specifyin
Hello Will,
Wednesday, February 23, 2005, 2:39:27 PM, you wrote:
W> On this subject, is there anything 'wrong' with using $_REQUEST
W> instead of specifying between $_POST and $_GET?
$_REQUEST includes POST, GET, and cookies. It basically boils down to
knowing where the information is coming fro
Matthew Fonda wrote:
$HTTP_*_VARS is deprecated in PHP5, so if the server is running PHP5,
this code won't work. Instead, you should use $_POST
On this subject, is there anything 'wrong' with using $_REQUEST instead of
specifying between $_POST and $_GET?
Will Beers
smime.p7s
Description: S/MIM
$HTTP_*_VARS is deprecated in PHP5, so if the server is running PHP5,
this code won't work. Instead, you should use $_POST
> $username = $HTTP_POST_VARS['username'];
> $password = $HTTP_POST_VARS['password'];
change to:
$username = $_POST['username'];
$password = $_POST['password'];
--
Rega
4 matches
Mail list logo