Line | |
---|
1 | <?php |
---|
2 | /***************************************************************************\ |
---|
3 | Plugin : magusine |
---|
4 | Licence : GPL |
---|
5 | Auteurs : Stéphane Noël, Philippe Vanderlinden |
---|
6 | Infos : http://www.spip-contrib.net/Le-plugin-Magusine |
---|
7 | http://www.magunews.net/spip.php?rubrique645 |
---|
8 | |
---|
9 | $LastChangedRevision: 12345 $ |
---|
10 | $LastChangedBy: bubu $ |
---|
11 | $LastChangedDate: 2008-03-21 15:50:47 +0100 (ven, 21 mar 2008) $ |
---|
12 | \***************************************************************************/ |
---|
13 | |
---|
14 | // crᅵe une session et gᅵnᅵre un id unique qui sera utilisᅵ pour vᅵrifier les actions transmises par url (id_check |
---|
15 | session_start(); |
---|
16 | if (!isset($_SESSION['id_check'])){ |
---|
17 | $_SESSION['id_check'] = uniqid(rand()); |
---|
18 | } |
---|
19 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.