what's the new $HTTP_RAW_POST_DATA?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

User avatar
javjimb
New php-forum User
New php-forum User
Posts: 12
Joined: Mon Feb 17, 2003 12:44 pm
Location: Germany
Contact:

what's the new $HTTP_RAW_POST_DATA?

Postby javjimb » Sat Nov 29, 2003 12:52 pm

Hi,

I'm trying to get a script to work but it uses old PHP code ($HTTP_RAW_POST_DATA) and I'm not too sure what to use instead. How can I reference this post data?

thanks,

Javier

User avatar
swirlee
Moderator
Moderator
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back
Contact:

Postby swirlee » Sat Nov 29, 2003 2:13 pm

Unless you really raw post-data, you can just use $_POST.

User avatar
javjimb
New php-forum User
New php-forum User
Posts: 12
Joined: Mon Feb 17, 2003 12:44 pm
Location: Germany
Contact:

Postby javjimb » Sat Nov 29, 2003 8:08 pm

I'm trying to make a web service like this :

Code: Select all

<?php
require_once('nusoap.php');

$server = new soap_server;

$server->register('hello');

function hello ($name){
return "Hello $name.";
}
$server->service($HTTP_RAW_POST_DATA);
?>


it doesn't seem to work with $_POST


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 1 guest

cron