SV: SV: [PHP] Sending files via POST

From: Date: Sat, 03 Jan 2009 10:54:15 +0000
Subject: SV: SV: [PHP] Sending files via POST
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-285396@lists.php.net to get a copy of this message
> Nathan Rixham's original email. Hope it helps! > > On Thu, Jan 1, 2009 at 09:35, Nathan Rixham <nrixham@gmail.com> wrote: > > > > after having a flick through the source it looks like a limitation of > http > > request; > > > > http://pear.php.net/package/HTTP_Request/docs/latest/__filesource/fsour > ce_HTTP_Request__HTTP_Request-1.4.4Request.php.html > > check lines around 600 and 900+ > > > > you'd have to set the http request yourself i thinks! (setBody) > > > > may be worth contacting they who maintain the package > > Thanks Daniel. I sure looks like I have to either do it manually, or modify the HTTP Request code myself, something I'm a bit reluctant to do.. I guess the better way is to learn how to build the HTTP body and use the setBody method, so I'll do some Googling on the subject if somebody here can't point me to a good 'how-to' right away.. Anders.

« previous php.general (#285396) next »