Re: [PHP] Parsing AJAX post data -- The Way

2007-01-25 Thread M5
On 25-Jan-07, at 4:46 PM, Richard Lynch wrote: On Thu, January 25, 2007 12:41 am, M5 wrote: Just wondering what smart people do for parsing data sent by the Javascript XMLHTTP object--e.g., http.send("post",url,true)... In a normal form submit, the $_POST global nicely allocates form elements

Re: [PHP] Parsing AJAX post data -- The Way

2007-01-25 Thread Richard Lynch
On Thu, January 25, 2007 12:41 am, M5 wrote: > Just wondering what smart people do for parsing data sent by the > Javascript XMLHTTP object--e.g., http.send("post",url,true)... > > In a normal form submit, the $_POST global nicely allocates form > elements as array elements automatically. But with

Re: [PHP] Parsing AJAX post data -- The Way

2007-01-25 Thread M5
On 25-Jan-07, at 7:49 AM, Myron Turner wrote: [EMAIL PROTECTED] / 2007-01-24 23:41:19 -0700: Just wondering what smart people do for parsing data sent by the Javascript XMLHTTP object--e.g., http.send("post",url,true)... In a normal form submit, the $_POST global nicely allocates form e

[PHP] Parsing AJAX post data -- The Way

2007-01-25 Thread Myron Turner
[EMAIL PROTECTED] / 2007-01-24 23:41:19 -0700: Just wondering what smart people do for parsing data sent by the Javascript XMLHTTP object--e.g., http.send("post",url,true)... In a normal form submit, the $_POST global nicely allocates form elements as array elements automatically. But with t

Re: [PHP] Parsing AJAX post data -- The Way

2007-01-25 Thread Bernhard Zwischenbrugger
hi The "X" in AJAX says that the data are XML Data. To parse XML I use DOM. It is also possible to validate the data using RelaxNG, DTD or XMLSchema before processing. A receiver in PHP looks like use "php://input") $content=file_get_contents("php://input"); //make a dom object //many people

Re: [PHP] Parsing AJAX post data -- The Way

2007-01-25 Thread Stut
M5 wrote: Just wondering what smart people do for parsing data sent by the Javascript XMLHTTP object--e.g., http.send("post",url,true)... In a normal form submit, the $_POST global nicely allocates form elements as array elements automatically. But with the AJAX way, the data get stuffed insi

Re: [PHP] Parsing AJAX post data -- The Way

2007-01-24 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-24 23:41:19 -0700: > Just wondering what smart people do for parsing data sent by the > Javascript XMLHTTP object--e.g., http.send("post",url,true)... > > In a normal form submit, the $_POST global nicely allocates form > elements as array elements automatically.

[PHP] Parsing AJAX post data -- The Way

2007-01-24 Thread M5
Just wondering what smart people do for parsing data sent by the Javascript XMLHTTP object--e.g., http.send("post",url,true)... In a normal form submit, the $_POST global nicely allocates form elements as array elements automatically. But with the AJAX way, the data get stuffed inside $HTTP

[PHP] Parsing AJAX post data -- The Way

2007-01-24 Thread M5
Just wondering what smart people do for parsing data sent by the Javascript XMLHTTP object--e.g., http.send("post",url,true)... In a normal form submit, the $_POST global nicely allocates form elements as array elements automatically. But with the AJAX way, the data get stuffed inside $HTTP