note 59917 added to features.file-upload.common-pitfalls

From: Date: Tue, 20 Dec 2005 09:07:29 +0000
Subject: note 59917 added to features.file-upload.common-pitfalls
Groups: php.notes 
Request: Send a blank email to php-notes+get-100446@lists.php.net to get a copy of this message
tjaart: The HTTP/1.1 standard, section 4.2 says this about message headers: "Each header field consists of a name followed by a colon (":") and the field value. Field names are case-insensitive. The field value MAY be preceded by any amount of LWS, though a single SP is preferred." This can be interpreted in two ways: 1. You have to have at least one whitespace character between the header name and field value. or 2. You can have no whitespace before the field value. Either way, the standard recommends 1 space, and you already know that works... ---- Manual Page -- http://www.php.net/manual/en/features.file-upload.common-pitfalls.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+59917 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+59917&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+59917&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+59917&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+59917&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+59917&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+59917&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+59917&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+59917&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#100446) next »