ini_set("zlib.output_compression", "1"); ini_set("zlib.output_compression_level", 9); function makeEtag() { $hache = md5('index'); //$lastModifiedGMT = gmdate('D, d M Y H:i:s').' GMT'; $lastModifiedGMT = gmdate('D, d M Y H').' GMT'; $etag = $hash.'_'.$lastModified; return $etag; } header('ETag: "'.makeEtag().'"'); //ob_start("ob_gzhandler"); $_GET['p'] = strtolower($_GET['p']); if (strlen($_GET['p'])==0) $_GET['p'] = 'accueil'; $tab_pages_web = array ('accueil', 'competences', 'experiences', 'divers', 'download', 'liens', 'contact'); if (!in_array($_GET['p'], $tab_pages_web)) $_GET['p'] = 'accueil'; ?>
Accueil - Mes
compétences/formations - Mes
expériences professionelles Informations complémentaires - Téléchargements - Liens - Me contacter |
include ($_GET["p"].".php"); ?> |