Location: PHPKode > projects > Serveur Multicartes IPX800 > multicardipx800/Debit.php
<?php
header('Content-Type: text/xml; charset: UTF-8');
require_once("LoadConfig.php");
session_name((string)$GLOBALS["config"]->general->namesession);
session_start();
$_SESSION['debit'] = $_REQUEST["debit"];
trace("http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'],"xml");
echo '<?xml version="1.0" encoding="UTF-8" ?>';
?>
<Debit>
	<titre>Compensation</titre>
    <message><?php
	 //si haut debit	
	 if  ( $_SESSION['debit'] > 0 )
		echo "Connexion Haut debit";
	else
		echo "Connexion Bas debit";
?></message>
</Debit>
Return current item: Serveur Multicartes IPX800