X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Fphp3.php;fp=www%2Fecrire%2Finc%2Fphp3.php;h=74262288cb4620ecd2d10760d6f3e0979a4127d5;hp=0000000000000000000000000000000000000000;hb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed;hpb=aaf970bf4cdaf76689ecc10609048e18d073820c diff --git a/www/ecrire/inc/php3.php b/www/ecrire/inc/php3.php new file mode 100644 index 0000000..7426228 --- /dev/null +++ b/www/ecrire/inc/php3.php @@ -0,0 +1,93 @@ + $val) { + if (!isset($GLOBALS[$var]) # indispensable securite + AND isset($GLOBALS[$_table][$var]) + AND ($_table == '_SERVER' OR !in_array($var, $refuse_gpc)) + AND ($_table <> '_COOKIE' OR !in_array($var, $refuse_c))) + $GLOBALS[$var] = $val; + } + } + } + +} +?>