nlopess Wed Sep 15 04:34:27 2004 EDT
Modified files:
/phpdoc/en/reference/url/functions get-headers.xml
/phpdoc/en/reference/datetime/functions date-sunrise.xml
date-sunset.xml
Log:
general bug fixes
http://cvs.php.net/diff.php/phpdoc/en/reference/url/functions/get-headers.xml?r1=1.3&r2=1.4&ty=u
Index: phpdoc/en/reference/url/functions/get-headers.xml
diff -u phpdoc/en/reference/url/functions/get-headers.xml:1.3
phpdoc/en/reference/url/functions/get-headers.xml:1.4
--- phpdoc/en/reference/url/functions/get-headers.xml:1.3 Thu Aug 12 14:12:00
2004
+++ phpdoc/en/reference/url/functions/get-headers.xml Wed Sep 15 04:34:23 2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.get-headers">
<refnamediv>
<refname>get_headers</refname>
@@ -12,14 +12,14 @@
<methodsynopsis>
<type>array</type><methodname>get_headers</methodname>
<methodparam><type>string</type><parameter>url</parameter></methodparam>
- <methodparam
choice="opt"><type>bool</type><parameter>format</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>format</parameter></methodparam>
</methodsynopsis>
<para>
<function>get_headers</function> returns an array with the headers sent
- by the server in response to a HTTP request.
+ by the server in response to a HTTP request. Returns &false; on failure.
</para>
<para>
- If the optional <parameter>format</parameter> parameter is &true;,
+ If the optional <parameter>format</parameter> parameter is set to 1,
<function>get_headers</function> parses the response and sets the array's
keys.
</para>
@@ -33,7 +33,7 @@
print_r(get_headers($url));
-print_r(get_headers($url, true));
+print_r(get_headers($url, 1));
?>
]]>
</programlisting>
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date-sunrise.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/datetime/functions/date-sunrise.xml
diff -u phpdoc/en/reference/datetime/functions/date-sunrise.xml:1.2
phpdoc/en/reference/datetime/functions/date-sunrise.xml:1.3
--- phpdoc/en/reference/datetime/functions/date-sunrise.xml:1.2 Tue Sep 14 15:30:50
2004
+++ phpdoc/en/reference/datetime/functions/date-sunrise.xml Wed Sep 15 04:34:27
2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.date-sunrise">
<refnamediv>
<refname>date_sunrise</refname>
@@ -30,7 +30,7 @@
</para>
<para>
The <parameter>latitude</parameter> defaults to North. So, if you want to
- specify a South value, you must pass a negavite value. The same note
+ specify a South value, you must pass a negative value. The same note
applies to <parameter>longitude</parameter>, which defaults to East.
</para>
<para>
http://cvs.php.net/diff.php/phpdoc/en/reference/datetime/functions/date-sunset.xml?r1=1.2&r2=1.3&ty=u
Index: phpdoc/en/reference/datetime/functions/date-sunset.xml
diff -u phpdoc/en/reference/datetime/functions/date-sunset.xml:1.2
phpdoc/en/reference/datetime/functions/date-sunset.xml:1.3
--- phpdoc/en/reference/datetime/functions/date-sunset.xml:1.2 Tue Sep 14 15:30:50
2004
+++ phpdoc/en/reference/datetime/functions/date-sunset.xml Wed Sep 15 04:34:27
2004
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry id="function.date-sunset">
<refnamediv>
<refname>date_sunset</refname>
@@ -30,7 +30,7 @@
</para>
<para>
The <parameter>latitude</parameter> defaults to North. So, if you want to
- specify a South value, you must pass a negavite value. The same note
+ specify a South value, you must pass a negative value. The same note
applies to <parameter>longitude</parameter>, which defaults to East.
</para>
<para>