Commit 6cd7bdd3 authored by chris's avatar chris Committed by fred

Ajout equivalent register_global suite à la migration PHP.

parent d2569fa6
<?php
// Restore register_globals-like behavior
// -_-
foreach ($_REQUEST as $key=>$val) {
${$key}=$val;
}
foreach ($_SERVER as $key=>$val) {
${$key}=$val;
}
foreach ($_COOKIE as $key=>$val) {
${$key}=$val;
}
foreach ($_POST as $key=>$val) {
${$key}=$val;
}
foreach ($_GET as $key=>$val) {
${$key}=$val;
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment