Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] PHP Error
- Date: Wed, 13 Jun 2007 18:42:04 +0900
- From: Alvarez <alvarezes@example.com>
- Subject: [tlug] PHP Error
Can anyone take a look at this code please: <? if (!isset($_SERVER['PHP_AUTH_USER'])) { header('WWW-Authentication: Basic Server="Secured Area"'); header('HTTP/1.0 401 Unauthorized'); echo'<P>You have hit the cancel button</P>'; exit(); }else{ echo"<p>Hello {$_SERVER['PHP_AUTH_USER']}.</p>"; echo"<p>You entered {$_SERVER['PHP_AUTH_PW']} as your password</p>"; } ?> For some reasons is not running well, everything goes smooth, but it's missing something. Can anyone shed some light. PHP is not my strength. -- Alvarez <alvarezes@example.com>
- Follow-Ups:
- Re: [tlug] PHP Error
- From: Darren Cook
- Re: [tlug] PHP Error
- From: Edmund Edgar
Home | Main Index | Thread Index
- Prev by Date: [tlug] ext4 questions
- Next by Date: Re: [tlug] Good Bye
- Previous by thread: Re: [tlug] ext4 questions
- Next by thread: Re: [tlug] PHP Error
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links