Missed set_method in example 32-1
| From: | Miki | Date: | Tue, 12 Oct 2004 12:31:36 +0000 |
| Subject: | Missed set_method in example 32-1 | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-4953@lists.php.net to get a copy of this message | ||
Hello,
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);
Regards,
Aleksandar Markovic
NETSECTOR.NET