php3-list | 200003
Date: 03/31/00
- Next message: TV Karthick Kumar: "[PHP3] ODBC Help"
- Previous message: Marcus D Hanwell: "Re: [PHP3] Visual Editor?"
- In reply to: tbaskan <email protected>: "RE: [PHP3] Scalability"
- Next in thread: Manuel Lemos: "Re: [PHP3] Scalability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Can some one explain this to me?
$admin_test = admin_user($REMOTE_USER);
if( !$admin_test ) { header("Location: index.phtml"); exit; }
exit();
This is the problem portion of my code.
If I run this code, and the $admin_test is false I get the "Warning Can't
display more header info....."
If $admin_test is true, then the page exits, and there is NOTHING that shows
up when I do the View Source.
If I remove the if statement, and just run the header function, like so:
$admin_test = admin_user($REMOTE_USER);
header("Location: index.phtml");
exit();
It works fine and redirects to that correct page.
Any one have any ideas.
Apache 1.3.11+PHP 3.0.13+mod_perl 1.21+mod_ssl 2.5.0+mod_auth_mysql
2.20+mysql 3.22.32 is what this is compiled on.
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: TV Karthick Kumar: "[PHP3] ODBC Help"
- Previous message: Marcus D Hanwell: "Re: [PHP3] Visual Editor?"
- In reply to: tbaskan <email protected>: "RE: [PHP3] Scalability"
- Next in thread: Manuel Lemos: "Re: [PHP3] Scalability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

