CVS update: php3/doc/chapters
| From: | rasmus | Date: | Thu, 03 Sep 1998 02:35:43 +0000 |
| Subject: | CVS update: php3/doc/chapters | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-766@lists.php.net to get a copy of this message | ||
Date: Wednesday September 2, 1998 @ 22:35
Author: rasmus
Update of /repository/php3/doc/chapters
In directory asf:/export/home/rasmus/php3/doc/chapters
Modified Files:
features.sgml
Log Message:
Upper-case some stuff to match RFC
Index: php3/doc/chapters/features.sgml
diff -c php3/doc/chapters/features.sgml:1.13 php3/doc/chapters/features.sgml:1.14
*** php3/doc/chapters/features.sgml:1.13 Sat Jul 18 01:12:45 1998
--- php3/doc/chapters/features.sgml Wed Sep 2 22:35:41 1998
***************
*** 23,29 ****
<programlisting role=php>
<?php
if(!isset($PHP_AUTH_USER)) {
! Header("WWW-authenticate: basic realm=\"My Realm\"");
Header("HTTP/1.0 401 Unauthorized");
echo "Text to send if user hits Cancel button\n";
exit;
--- 23,29 ----
<programlisting role=php>
<?php
if(!isset($PHP_AUTH_USER)) {
! Header("WWW-Authenticate: Basic realm=\"My Realm\"");
Header("HTTP/1.0 401 Unauthorized");
echo "Text to send if user hits Cancel button\n";
exit;
***************
*** 41,47 ****
<para>
Watch out for buggy Internet Explorer browsers out there. They
seem very picky about the order of the headers. Sending the
! <emphasis>WWW-authenticate</emphasis> header before the
<errorcode>HTTP/1.0 401</errorcode> header seems to do the trick
for now.
<para>
--- 41,47 ----
<para>
Watch out for buggy Internet Explorer browsers out there. They
seem very picky about the order of the headers. Sending the
! <emphasis>WWW-Authenticate</emphasis> header before the
<errorcode>HTTP/1.0 401</errorcode> header seems to do the trick
for now.
<para>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net