Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

what's the new $HTTP_RAW_POST_DATA?

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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
javjimb
New php-forum User
New php-forum User
 
Posts: 12
Joined: Mon Feb 17, 2003 12:44 pm
Location: Germany

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

Unless you really raw post-data, you can just use $_POST.
User avatar
swirlee
Moderator
Moderator
 
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

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
User avatar
javjimb
New php-forum User
New php-forum User
 
Posts: 12
Joined: Mon Feb 17, 2003 12:44 pm
Location: Germany


Return to PHP coding => General

Who is online

Users browsing this forum: Google Feedfetcher and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.