malka1 Posted November 30, 2008 Report Share Posted November 30, 2008 Tatad problema tada, Man ir WAP Viesu gramatu servisa skripts, tas nu nebutu tik svarigi. Tatad lieta ir tada, ka lai stradatu serviss - tas ir varetu registret viesu gramatu, registreties vajag ieksh .htaccess faila register_globals php_value 1, bet lieta tada, ka es nevaru pieklut viesu gramatu servisa admina panelim, bet nomainot uz register_globals php_value 0 straadaa admin panelis, bet nestraadaa viesu gramatu serviss un registracija. Ka iespejams to labot? Link to comment Share on other sites More sharing options...
bubu Posted November 30, 2008 Report Share Posted November 30, 2008 Ļoti vienkārši - salabo tā skripta kodu, kuram vajag register_globals=1, tā, lai tas strādātu arī uz register_globals=0. Link to comment Share on other sites More sharing options...
malka1 Posted December 2, 2008 Author Report Share Posted December 2, 2008 Ļoti vienkārši - salabo tā skripta kodu, kuram vajag register_globals=1, tā, lai tas strādātu arī uz register_globals=0. Es jautaju ka to izdarit! Nevis prasu kas man jadara! Link to comment Share on other sites More sharing options...
marcis Posted December 2, 2008 Report Share Posted December 2, 2008 http://lv.php.net/manual/en/reserved.variables.php Link to comment Share on other sites More sharing options...
andrisp Posted December 2, 2008 Report Share Posted December 2, 2008 Tur kur ir, piem., $bla, jālieto $_POST['bla'] vai $_GET['bla'] (atkarībā no kurienes tas $bla nāk). Link to comment Share on other sites More sharing options...
bubu Posted December 2, 2008 Report Share Posted December 2, 2008 Var jau arī extract() fju pielietot, bet nu tā diez vai skaitīsies salabošana. Link to comment Share on other sites More sharing options...
Recommended Posts