Re: [PHP] Wierd PHP Problem

2005-02-23 Thread Robby Russell
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

Re: [PHP] Wierd PHP Problem

2005-02-23 Thread Leif Gregory
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

Re: [PHP] Wierd PHP Problem

2005-02-23 Thread Will Beers
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

Re: [PHP] Wierd PHP Problem

2005-02-23 Thread Matthew Fonda
$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