/trunk/war/identiplante.php |
---|
1,13 → 1,5 |
<?php |
function getUrlPageCourante() { |
$cheminUrl = $_SERVER['REQUEST_URI']; |
$positionIntero = strpos($_SERVER['REQUEST_URI'], '?'); |
if ($positionIntero !== false) { |
$cheminUrl = substr($_SERVER['REQUEST_URI'], 0, $positionIntero); |
} |
$url = 'http://'.$_SERVER['SERVER_NAME'].$cheminUrl; |
return $url; |
} |
include_once __DIR__.DIRECTORY_SEPARATOR.'commun.php'; |
?> |
<!DOCTYPE html> |
<html> |