mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-08 02:28:23 +01:00
New: Ajout 2eme module pour oscommerce. Fix: Amélioration du premier module oscommerce. Les 2 modules oscommerce sont exclusifs. On ne peut activer que l'un ou l'autre.
23 lines
388 B
PHP
23 lines
388 B
PHP
<?php
|
|
set_magic_quotes_runtime(0);
|
|
|
|
// Soap Server.
|
|
require_once('./lib/nusoap.php');
|
|
|
|
// Create the soap Object
|
|
$s = new soap_server;
|
|
|
|
// Register a method available for clients
|
|
$s->register('hello');
|
|
|
|
function hello($name){
|
|
|
|
$returnedString = "Hello de Tetiaroa ".$name." !";
|
|
return $returnedString;
|
|
|
|
}
|
|
|
|
// Return the results.
|
|
$s->service($HTTP_RAW_POST_DATA);
|
|
?>
|