Re: [PHP] Re: php redirection..
I believe it's spelled non-sequitur. =) On 12/16/06, Jonesy [EMAIL PROTECTED] wrote: On Fri, 15 Dec 2006 21:07:44 -0800, Casey Chu wrote: Well... They skip all !-- --'s, so they skip script!-- //--/script's. Wow! You get The Prize for the best non sequitor of the day. Jonesy -- Marvin L Jones| jonz | W3DHJ | linux 38.24N 104.55W | @ config.com | Jonesy | OS/2 *** Killfiling google posts: http//jonz.net/ng.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP Redirection If Login Fails.
On Friday 09 July 2004 18:37, Harlequin wrote: Here's the code in question: I'd ideally want the user to only be directed to this page if login is successful. Directed to another page if unsuccessful but even the error messages do not display which I find strange... [snip] else // password is not correct { unset($do); $message=The Login Name, '$_POST[TXT_UserID]' exists, but you have not entered the correct password! Please try again.br; Do you actually print/echo $message elsewhere in your code? In the code you posted, I can only see it being assigned by not actually used. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* When the bosses talk about improving productivity, they are never talking about themselves. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP Redirection If Login Fails.
Thanks Jason. I think that's where I was falling down with this one. -- - Michael Mason Arras People www.arraspeople.co.uk - Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Friday 09 July 2004 18:37, Harlequin wrote: Here's the code in question: I'd ideally want the user to only be directed to this page if login is successful. Directed to another page if unsuccessful but even the error messages do not display which I find strange... [snip] else // password is not correct { unset($do); $message=The Login Name, '$_POST[TXT_UserID]' exists, but you have not entered the correct password! Please try again.br; Do you actually print/echo $message elsewhere in your code? In the code you posted, I can only see it being assigned by not actually used. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet Applications Development * -- Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general -- /* When the bosses talk about improving productivity, they are never talking about themselves. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php