php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41863 post array is empty
Submitted: 2007-07-01 08:34 UTC Modified: 2007-07-01 12:57 UTC
From: eag at jensentechnologies dot com Assigned:
Status: Closed Package: Apache2 related
PHP Version: 5.2.3 OS: FreeBSD 6.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eag at jensentechnologies dot com
New email:
PHP Version: OS:

 

 [2007-07-01 08:34 UTC] eag at jensentechnologies dot com
Description:
------------
PHP Version is 5.2.2

Response Headers
Via	1.1 STARGATE
Connection	Keep-Alive
Proxy-Connection	Keep-Alive
Content-Length	326
Expires	Thu, 19 Nov 1981 08:52:00 GMT
Date	Sun, 01 Jul 2007 08:09:18 GMT
Content-Type	text/plain; charset=utf-8
Server	Apache/2.2.4 (Unix) PHP/5.2.2 with Suhosin-Patch mod_ssl/2.2.4 OpenSSL/0.9.7e-p1 mod_apreq2-20051231/2.5.7 mod_perl/2.0.3 Perl/v5.8.7
X-Powered-By	PHP/5.2.2
Set-Cookie	debug=no
Cache-Control	no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma	no-cache
Keep-Alive	timeout=5, max=100

Post Data
data[id]=1334&data[txt]=4&data[sel]=card&act=checkout

always_populate_raw_post_data Off
variables_order GPCS 

Please help, I can't use POST from AJAX. If I send POST from usual form, I getting it normally.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-07-01 08:37 UTC] eag at jensentechnologies dot com
Forgot this...

Request Headers
Host	landlordterminal.com
User-Agent	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.12) Gecko/20070508 Firefox/1.5.0.12
Accept	text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language	en-us,en;q=0.5
Accept-Encoding	gzip,deflate
Accept-Charset	ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive	300
Connection	keep-alive
Content-Type	application/octet-stream
Content-Length	53
Cookie	project_manager=1; logged_users=NNS; __utmz=28800929.1181397462.24.3.utmccn=(organic)|utmcsr=google|utmctr=web+based+property+management+system|utmcmd=organic; __utma=28800929.1605506228.1177254938.1182327548.1183110471.26; PHPSESSID=v6t22l44ggss1l4011pb36pt40
Pragma	no-cache
Cache-Control	no-cache
 [2007-07-01 11:43 UTC] judas dot iscariote at gmail dot com
>I can't use POST from AJAX.

Upgrading to php 5.2.3 will probably help. http_raw_post-data was broken in 5.2.2, try with a newer version first
 [2007-07-01 12:57 UTC] sniper@php.net
This is already fixed in CVS. For the next time: SEARCH before reporting..
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 22:01:26 2024 UTC