Re: Wierd PHP Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



$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']; 

-- 
Regards,
Matthew Fonda
http://mfonda.info

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux