|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36660 POST does not pass
Submitted: 2006-03-09 05:36 UTC Modified: 2006-03-22 01:00 UTC
From: pwr at mail dot ru Assigned:
Status: No Feedback Package: cURL related
PHP Version: 4.4.2 OS: Debian 3.1 (2.4.27-2)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-03-09 05:36 UTC] pwr at mail dot ru
I badly speak in English, but I shall try to tell about the problem more clearly.
For the beginning I shall show you the simple working program on PHP and I shall tell in what a problem.
This program it is remarkable works in the version cURL 7.11, but does not work in versions 7.15.1 and 7.15.2.
Why it does not work?
In what which I have shown uniqueness of a code to you? In a code which I have shown you variables POST are transferred in one inquiry some times with different to values of variables.
An example: "a=1&b=5&a=3" On some systems such it is possible. And some programmers use it.
And I have remained without means to study work their web of programs.
Return please an opportunity of processing repeating POST inquiries.
I shall wait for a prompt reply.

Reproduce code:

$url = "";

$header=array("Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,application/x-shockwave-flash,application/,application/msword,*/*",                         "Referer:",                         "Accept-Language: ru",
"Content-Type: application/x-www-form-urlencoded",
"User-Agent: Mozilla/4.0");

$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, "$post_data");
curl_setopt ($ch, CURLOPT_HTTPHEADER, $header);
curl_setopt ($ch, CURLOPT_HEADER, 0);
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt ($ch, CURLOPT_TIMEOUT, 3600);

$result = curl_exec($ch);
$error = curl_error($ch);

Expected result:
html the document generated by a server

Actual result:
Lag of a script and output after CURLOPT_TIMEOUT=3600


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-14 21:57 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

I can't read japanese, but that page seems out of order.

 [2006-03-22 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 24 17:01:28 2024 UTC