cvs: phpdoc /en/faq using.xml

From: Date: Fri, 18 Apr 2003 17:07:36 +0000
Subject: cvs: phpdoc /en/faq using.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969352665@lists.php.net to get a copy of this message
goba Fri Apr 18 13:07:36 2003 EDT Modified files: /phpdoc/en/faq using.xml Log: XSLTproc does not like whitespace in attributes. No content change, only WS... Index: phpdoc/en/faq/using.xml diff -u phpdoc/en/faq/using.xml:1.23 phpdoc/en/faq/using.xml:1.24 --- phpdoc/en/faq/using.xml:1.23 Tue Mar 18 04:09:12 2003 +++ phpdoc/en/faq/using.xml Fri Apr 18 13:07:36 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> +<!-- $Revision: 1.24 $ --> <chapter id="faq.using"> <title>Using PHP</title> <titleabbrev>Using PHP</titleabbrev> @@ -341,11 +341,11 @@ </question> <answer> <para> - It's important to realize that the PHP directive <link linkend=" - ini.register-globals">register_globals</link> also affects server - and environment variables. When register_globals = off (the default - is off since PHP 4.2.0), <varname>$DOCUMENT_ROOT</varname> will - not exist. Instead, use <varname>$_SERVER['DOCUMENT_ROOT'] + It's important to realize that the PHP directive <link + linkend="ini.register-globals">register_globals</link> also affects + server and environment variables. When register_globals = off (the + default is off since PHP 4.2.0), <varname>$DOCUMENT_ROOT</varname> + will not exist. Instead, use <varname>$_SERVER['DOCUMENT_ROOT'] </varname>. If register_globals = on then the variables <varname>$DOCUMENT_ROOT</varname> and <varname>$GLOBALS['DOCUMENT_ROOT']</varname> will also exist.

« previous php.doc (#969352665) next »