Fixed some typos.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75095 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Dirkjan Ochtman 2002-03-25 00:30:53 +00:00
parent 485a1c6ef0
commit 3d87de0ea9

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.38 $ -->
<!-- $Revision: 1.39 $ -->
<reference id="ref.http">
<title>HTTP functions</title>
<titleabbrev>HTTP</titleabbrev>
@ -66,7 +66,7 @@ header('WWW-Authenticate: NTLM',false);
If you want to set the return status like this then you have to
make sure this is the very first header you send. Remember that
<function>setcookie</function> uses <function>header</function>
internaly and that the session functions might try to set a
internally and that the session functions might try to set a
cookie, so these might interfere with setting a return status
using <literal>header("HTTP ...")</literal>.
</para>
@ -159,7 +159,7 @@ header("Pragma: no-cache"); // HTTP/1.0
<para>
Remember that <function>header</function> must be
called before any actual output is sent, either by normal HTML
tags blank lines in a file, or from PHP. It is a very common
tags, blank lines in a file, or from PHP. It is a very common
error to read code with <function>include</function>, or
<function>require</function>, functions, or another file access
function, and have spaces or empty lines that are output before
@ -322,7 +322,7 @@ setcookie ("TestCookie", $value,time()+3600, "/~rasmus/", ".utoronto.ca", 1);
<para>
When deleting a cookie you should assure that the expiration date
is in the past, to trigger the removal mechanism in your browser.
Examples follow how to delete cookies send in previous example:
Examples follow how to delete cookies sent in previous example:
<example>
<title><function>setcookie</function> delete examples</title>
<programlisting role="php">