diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 10:01:33 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-06-30 10:01:33 +0200 |
commit | 30238f5847b418645983a4efddb13f087c99e585 (patch) | |
tree | 0cec8e6d657bbecab865f75a5c3f8bffc369b47f /test/awor1.txt | |
parent | 052fe50e28a53c3ece30c2ad1090f313b3bb7337 (diff) | |
download | 2007-AWOR-30238f5847b418645983a4efddb13f087c99e585.tar.gz 2007-AWOR-30238f5847b418645983a4efddb13f087c99e585.tar.bz2 2007-AWOR-30238f5847b418645983a4efddb13f087c99e585.zip |
Premiers tests 2007-01-02+20:01:04 - 2007-02-02+16:43:14
Diffstat (limited to 'test/awor1.txt')
-rw-r--r-- | test/awor1.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/awor1.txt b/test/awor1.txt new file mode 100644 index 0000000..e02eb8d --- /dev/null +++ b/test/awor1.txt @@ -0,0 +1,18 @@ +<?php
+ # server switch webetud
+if (($_SERVER["REMOTE_ADDR"] == "localhost")
+ || ($_SERVER["REMOTE_ADDR"] == "127.0.0.1")
+ ){
+ $login='etud';
+ $login='Inglebert';
+} else {
+ VerifOuvertureSession("quelconque");
+}
+ #################################################
+ # Récupération login webetud
+ #################################################
+ function VerifOuvertureSession($typeParam)
+ {
+ session_start();
+ #peu importe
+ }
\ No newline at end of file |