napisalem "nie ma mozliwosci" gdyz na serwerze nie moge zmieniac dyrektyw serwer stad wywala mi blad wewnetrzny 500.
Dzieki za odpowiedz NOSPOR ale juz rozwiazalem sobie problem :-)
Pod adresem
http://de2.php.net/manual/en/faq.misc.php#...registerglobals jest zamieszczona funkcja ktora wylacza zmienne globalne. Moze komus sie przyda :-)
<?php
// Emulate register_globals off
function unregister_GLOBALS()
{
if (!ini_get('register_globals')) { return;
}
// Might want to change this perhaps to a nicer error
if (isset($_REQUEST['GLOBALS']) || isset($_FILES['GLOBALS'])) { die('GLOBALS overwrite attempt detected'); }
// Variables that shouldn't be unset
$noUnset = array('GLOBALS', '_GET', '_POST', '_COOKIE',
'_REQUEST', '_SERVER',
'_ENV', '_FILES');
$_COOKIE, $_SERVER,
$_ENV, $_FILES,
foreach ($input as $k => $v) {
}
}
}
unregister_GLOBALS();
?>