extranet/public/index_portefeuillecsv.php

23 lines
518 B
PHP
Raw Normal View History

2011-12-06 09:33:01 +01:00
<?php
/**
* Support intégration fichier KP1
* @todo : Ne plus utiliser, preferer /index/portefeuillecsv
*/
2011-12-08 16:34:10 +01:00
$url = "http://".$_SERVER['SERVER_NAME']."/index/portefeuillecsv/";
2011-12-06 09:33:01 +01:00
$login = '';
$hach = '';
if (isset($_REQUEST['login']) && !empty($_REQUEST['login'])){
$login = 'login='.$_REQUEST['login'];
}
if (isset($_REQUEST['hach']) && !empty($_REQUEST['hach'])){
$hach = 'hach='.$_REQUEST['hach'];
}
if (!empty($login) && !empty($hach)){
$url = $url.'?'.$login.'&'.$hach;
}
header( "Location: $url" );
exit;