Re: Missed set_method in example 32-1

From: Date: Tue, 12 Oct 2004 16:36:57 +0000
Subject: Re: Missed set_method in example 32-1
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4957@lists.php.net to get a copy of this message
On Tue Oct 12, 2004 at 02:2309PM +0200, Miki wrote: > I testing a HTTP_Request.php PEAR class. > > I notice that example 32-1 "How to use file uploads" have not line > where a method is set. > > By default a class will make a GET method, but for upload POST is needed. > > Please update example and put somewhere in code: > > $req->setMethod(HTTP_REQUEST_METHOD_POST); Thanks for noticing. The problem has been fixed in CVS and will show up on the website next sunday. -- - Martin Martin Jansen http://martinjansen.com/

« previous php.pear.doc (#4957) next »