php-general | 2004032
Date: 03/25/04
- Next message: Andy B: "[PHP] Re: still having login problems sigh"
- Previous message: Andy B: "Fw: [PHP] Re: still having login problems sigh"
- In reply to: Andy B: "Fw: [PHP] Re: still having login problems sigh"
- Next in thread: Richard Davey: "Re: [PHP] Re: still having login problems sigh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 25 Mar 2004 02:58:39 -0500
"Andy B" <aborka1 <email protected>> 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 -
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Andy B: "[PHP] Re: still having login problems sigh"
- Previous message: Andy B: "Fw: [PHP] Re: still having login problems sigh"
- In reply to: Andy B: "Fw: [PHP] Re: still having login problems sigh"
- Next in thread: Richard Davey: "Re: [PHP] Re: still having login problems sigh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

