Re: Fw: [PHP] Re: still having login problems sigh

From: Date: Thu, 25 Mar 2004 08:10:27 +0000
Subject: Re: Fw: [PHP] Re: still having login problems sigh
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181456@lists.php.net to get a copy of this message
On Thu, 25 Mar 2004 02:58:39 -0500 "Andy B" <aborka1@wmis.net> wrote: > >What do mean by "keeps getting stuck"? Where? What? Any error > >messages? > > 0 errors and 0 messages of any kind and what i meant by getting > stuck was every time the login.html is filled out and submitted > i either get the login.html page again (expected if user gave > wrong pwd and stuff) What happens if you give a the correct ones? > or browser will get "stuck" on a blank > page and show nothing at all There's an error. Set error_reporting to E_ALL and turn on display_errors. > >Where's $username coming from? $_GET? $_POST? Check the > >manual/archives for more info... > > $_POST... but the way the web space is set up the admins > somehow disabled$_POST?? is that even possible?? Yes, I guess, but that would be strange. > $_POST[username] <--- for some strange reason php on server > complains that it is an undefined variable/array??? anyways... Try $_POST['username'] > >Use an absolute URL for header("Location ... > didnt think i needed to but...ok i will > > >And, your "echo" shouldn't come before your "header". Again, > >you can check the manual/archives for more info... > hmmm didnt think that part would work but saw it in a tutorial > about this stuff (matter of fact this is almost an exact copy > of that tutorial) just dont remember what one it was... http://www.php.net/manual/en/function.header.php Read it carefully :) -- - E -

« previous php.general (#181456) next »