When using PHP 5.3.1 + Apache 2.2.14 on Windows XP machine I encounter the following problem.
A PHP script generates a form with method=POST. The script mentioned in the form's action parameter _sometimes_ does not receive the $_POST data (tested using print_r - it receives an empty array). And the behaviour seems to be dependent on delay between the moment the page containing the form is loaded and the moment pte sumbit button is pressed:
- if the delay is > 15s, the problem disappears ($_POST contains the apropriate data),
- if the delay is about 3s, the problem is fully repeatable (empty $_POST).
PHP is used as mod_php.
I found nothing interesting in logs (apache: POST request performed; php: undefined index in $_POST table while the problem appears, nothing otherwise)
Any hints where to look for a solution?
Andrzej
7 3894
Can you post the code which is giving you the problem.?
Regards
Dheeraj Joshi
I have the same problem. Its pretty annoying. It is reproducible anytime at any page using form posting data into $_POST php variable. This problem is appearing only on IE (all versions), running PHP (version 5.2 and above), Apache server on Windows machine (XP/2003/2008, Vista/7 also?).
It has been logged in 2007 as PHP BUG 41649 ( http://bugs.php.net/bug.php?id=41649), but with no resolution.
But the problem stays up till now, Im quite shocked, noone has to do something with it. No serious answer can be found on any web, but its also interesting, that php version up to 5.2 was everything alright (tested).
Does someone has any tip for solve this problem?
Interesting. I use Apache, PHP, $_POST and Windows XP but not yet encountered this problem.
But I have had new 'broken' problems before, which I have put down to the evil of Microsoft inserting deliberate bugs in IE to break open source code.
SOLVED! Finally, I found where the problem lies....
It is not in the IE, nor PHP. If you use mod_auth_sspi Apache module version 1.0.4 for NTLM authentification, there it is!
Downgrade back to v1.0.3 (search for installation package at Sourceforge) and voila :) $_POST delay for 5 seconds is gone. Finally.
Version downgrade solved the problem.? Hmmm Interesting.
Regards
Dheeraj Joshi
Yeah. mod_auth_sspi module is no more upgraded since 2006. Latest version working for Apache 2.0 and 2.2 is 1.0.4. But this version has the bug in cooperation with IE and PHP. So moving back to 1.0.3 is neccessary.
Thanks for the fix Voxo, great work, this has bugged me for a long time.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Krista |
last post by:
Hi everybody,
I think my confi has some problems. Can you guys help me to see what is going on?
i install Apache2.0.48 and Php4.3.4 in WinXP.
I add some codes in httpd(inside apache...
|
by: Tony |
last post by:
I'm working with someone on a PHP project. The other person is doing
testing of scripts on their personal machine using Apache as a web server.
The production server and the one I'm using are both...
|
by: Jim Johnstone |
last post by:
Some details of my HOME PC. I am running the following ....
Win2000 SP4; IE V6; 512MB RAM; H/Disk Space OK.
In the past couple of weeks I have installed/configured from binaries for ..
MySQL...
|
by: weissborn |
last post by:
I'm a php newbie. I have installed apache 2.0.54 and php 5.0.5 on my
win2k box. However, it does not appear the php is working properly. I
base this on the following code(which I got from a...
|
by: Thomas Hermann |
last post by:
A newbie question:
With the config mentioned in the topic, all on localhost, Win xpsp2,
i created a caledar-table.
The output should be a daily calendar for half a year with about 15 cols.
...
|
by: JaxDawg |
last post by:
OK...
Crazy (possibly dumb) question here...
I have a site running apache, mysql, php in a Win2K environment.
Primary development is that env also. I also am setting up a linux box
(old laptop),...
|
by: John Lagoli |
last post by:
I get this error, apparently because of my Query:
Apache.exe has encountered a problem and needs to close. We are sorry for
the inconvenience.
|
by: PehJota |
last post by:
I'm kinda new to PHP, and I'm trying to make a simple FTP upload script. It successfully connects to the server and logs in, but it can't upload. The transfer mode I use normally is ASCII (like I...
|
by: Jacotheron |
last post by:
I have a site that needs an enrollment form. I have made the form and it works without a fault on my Apache testing server, but I have to get it to work on an IIS server. the first page should take...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
| | |