Re: HTTP_POST Intermittent Problem
| From: | Manuel Lemos | Date: | Thu, 26 Aug 2004 21:19:21 +0000 |
| Subject: | Re: HTTP_POST Intermittent Problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-194852@lists.php.net to get a copy of this message | ||
Hello,
On 08/26/2004 02:12 PM, Jeff Oien wrote:
I'm using the code below and about a third of the posts aren't getting through. We have no idea why and don't know where to start to trouble shoot. Any ideas? Thanks.Are you sure the data is always URL encoded? Anyway, some servers intentionally refuse x-form-url-encoded data and only accept multipart/form-data posts. It is odd but it was actually one user of this class that warned me. You may want to try it as it forces multipart/form-data POSTs even when you are not uploading files: http://www.phpclasses.org/httpclient -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html