Re: cvs: phpdoc-de /features http-auth.xml
| From: | Derick Rethans | Date: | Tue, 02 Sep 2003 18:21:07 +0000 |
| Subject: | Re: cvs: phpdoc-de /features http-auth.xml | ||
| References: | 1 | Groups: | php.doc.de |
| Request: | Send a blank email to doc-de+get-898@lists.php.net to get a copy of this message | ||
On Tue, 2 Sep 2003, ali wrote:
> +<![CDATA[
> +<?php
> + if( !isset ($_SERVER['PHP_AUTH_USER']) ){
> + Header("WWW-Authenticate: Basic realm=\"My Realm\"");
> + Header("HTTP/1.0 401 Unauthorized");
Wouldn't it be much nicer if we all keep to the same coding standards.
IE, the PEAR one? I don't really care about the german translation, but
I still think it should have the same CS as the English version.
regards,
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions http://www.jdimedia.nl/
International PHP Magazine http://www.php-mag.net/
-------------------------------------------------------------------------