cvs: phpdoc /en/reference/network/functions header.xml
| From: | Hannes Magnusson | Date: | Sat, 23 Aug 2008 14:08:56 +0000 |
| Subject: | cvs: phpdoc /en/reference/network/functions header.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-2084@lists.php.net to get a copy of this message | ||
bjori Sat Aug 23 14:08:56 2008 UTC
Modified files:
/phpdoc/en/reference/network/functions header.xml
Log:
Use proper markup for variables
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/header.xml?r1=1.7&r2=1.8&diff_format=u
Index: phpdoc/en/reference/network/functions/header.xml
diff -u phpdoc/en/reference/network/functions/header.xml:1.7
phpdoc/en/reference/network/functions/header.xml:1.8
--- phpdoc/en/reference/network/functions/header.xml:1.7 Wed Aug 6 16:22:30 2008
+++ phpdoc/en/reference/network/functions/header.xml Sat Aug 23 14:08:56 2008
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook"
xml:id="function.header">
<refnamediv>
<refname>header</refname>
@@ -285,7 +285,8 @@
<link
xlink:href="&spec.http1.1;-sec14.html#sec14.30">Location:</link>
including the scheme, hostname and absolute path, but
some clients accept relative URIs. You can usually use
- <literal>$_SERVER['HTTP_HOST']</literal>,
<literal>$_SERVER['PHP_SELF']</literal>
+ <varname>$_SERVER['HTTP_HOST']</varname>,
+ <varname>$_SERVER['PHP_SELF']</varname>
and <function>dirname</function> to make an absolute URI from a
relative one yourself:
<informalexample>