SERVER_NAME

This commit is contained in:
Michael RICOIS 2009-02-17 17:04:07 +00:00
parent 5adfa84919
commit 09f4bd8fa6

View File

@ -1,7 +1,7 @@
<?php
if (isset($_REQUEST['login']) && isset($_REQUEST['pass'])){
header('Location: http://'.$_SERVER['REMOTE_HOST'].'/?page=main&lang=fr&secure=8f66c76ce72b8f45dadfe49fd5db90e0&action=logon&login='.$_REQUEST['login'].'&pass='.$_REQUEST['pass'].'&hach='.$_REQUEST['hach']);
header('Location: http://'.$_SERVER['SERVER_NAME'].'/?page=main&lang=fr&secure=8f66c76ce72b8f45dadfe49fd5db90e0&action=logon&login='.$_REQUEST['login'].'&pass='.$_REQUEST['pass'].'&hach='.$_REQUEST['hach']);
exit;
}