23 lines
518 B
PHP
23 lines
518 B
PHP
<?php
|
|
/**
|
|
* Support intégration fichier KP1
|
|
* @todo : Ne plus utiliser, preferer /index/portefeuillecsv
|
|
*/
|
|
$url = "http://".$_SERVER['SERVER_NAME']."/index/portefeuillecsv/";
|
|
$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; |