source: spip-zone/_plugins_/inclure-ajaxload/action/ia_nojs.php @ 41901

Last change on this file since 41901 was 41901, checked in by arno@…, 11 years ago

Plusieurs bugs sur la gestion des refresh sans cookie.

File size: 258 bytes
Line 
1<?php
2
3function action_ia_nojs () {
4        // Installer un cookie NO_JS
5        // pour une semaine
6        setcookie("no_js", "no_js", time()+(3600*24*7));       
7               
8        @header("Refresh: 0; Url=".parametre_url(urldecode(_request("retour")), "no_js","oui", "&"));
9        echo "&nbsp;"; 
10}
11
12?>
Note: See TracBrowser for help on using the repository browser.