Return-Path: Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: (qmail 33386 invoked from network); 7 Apr 2011 12:33:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Apr 2011 12:33:46 -0000 Received: (qmail 6718 invoked by uid 500); 7 Apr 2011 12:33:46 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 6660 invoked by uid 500); 7 Apr 2011 12:33:45 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 6653 invoked by uid 500); 7 Apr 2011 12:33:45 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 6650 invoked by uid 99); 7 Apr 2011 12:33:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 12:33:45 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2011 12:33:43 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id A3DC3699; Thu, 7 Apr 2011 12:33:22 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 07 Apr 2011 12:33:21 -0000 Message-ID: <20110407123321.55988.61356@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Update_of_=22Getting=5Fstarted=5Fwith=5FPHP?= =?utf-8?q?=22_by_VicMetcalfe?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for c= hange notification. The "Getting_started_with_PHP" page has been changed by VicMetcalfe. The comment on this change is: Extra $request .=3D "\r\n"; under authorizat= ion caused authenticated posts to break with an extra CRLF between the auth= orization and content length headers. Not needed due to else under if($pos= t_data).. http://wiki.apache.org/couchdb/Getting_started_with_PHP?action=3Ddiff&rev1= =3D20&rev2=3D21 -------------------------------------------------- = if ($this->user) { $request .=3D "Authorization: Basic ".base64_encode("$this->user= :$this->pass")."\r\n"; = - $request .=3D "\r\n"; = } = if($post_data) {