From 3d87de0ea9f48461b4b1884673eb2076f30e702e Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 25 Mar 2002 00:30:53 +0000 Subject: [PATCH] Fixed some typos. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75095 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/http.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/functions/http.xml b/functions/http.xml index 7e64b188e0..785169dbe5 100644 --- a/functions/http.xml +++ b/functions/http.xml @@ -1,5 +1,5 @@ - + HTTP functions HTTP @@ -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 setcookie uses header - 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 header("HTTP ..."). @@ -159,7 +159,7 @@ header("Pragma: no-cache"); // HTTP/1.0 Remember that header 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 include, or require, 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); 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: <function>setcookie</function> delete examples