Metzler, David ha scritto:
Ummm... Looks like you're mixing your metaphores.
To pass variables using CGI, they must be properly encoded key value pairs. Example:
$data = array('xml'=>$xml); $data_string = drupal_query_string_encode($data); drupal_http_request("http://mysite.it/foo",$header,"POST",$xml,3);
Hi, my code works perfectly if i call a web application created by 3rd farm. In Drupal I have the problem that POST is empty. M. -- Michel 'ZioBudda' Morelli michel@ziobuddalabs.it Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ziodrupal.net MSN: michel@ziobuddalabs.it JABBER: michel@ziobuddalabs.it