leisure Posted November 26, 2005 Report Share Posted November 26, 2005 (edited) Man te nesanak nekas ar to register_globals... Man te klasee viens dzex, kas maacaas php nju ir graamata no kuras vinsh grib saraxtiit skriptus bet ja ir jalieto super-globaalie mainiigie tad tas viss saejot sviestaa unj wajagot tos 'parastos' :) mainiigos nju uzliku ieksh php.ini ka register_globals = on a vienagla nekas nemainaais iet tikai ar visiem tiem $_GET, $_POST utt... ko man dariit? Edit: Runa ir par phpdev uz windows! Edited November 26, 2005 by leisure Link to comment Share on other sites More sharing options...
bubu Posted November 26, 2005 Report Share Posted November 26, 2005 webserveri pāstartēji? Kautgan neisaku tev to "on" tur atstāt. Labāk tomēr mācies uz off. Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 27, 2005 Report Share Posted November 27, 2005 leisure--> uztaisiisi skriptu kur GLOBALS=ON ko taalaak tad jau pasham uz sava servera vajadzees hosteet..... Jo uz normaali(lasi pareizi) nokonfigureeta servera GLOBALS=OFF buus pagruuti atras hosteetaaju kas iesleegs prieksh tevis 'ON' (kautgan ja labi maksa - tad bez probleemaam) Link to comment Share on other sites More sharing options...
leisure Posted November 28, 2005 Author Report Share Posted November 28, 2005 leisure--> uztaisiisi skriptu kur GLOBALS=ON ko taalaak tad jau pasham uz sava servera vajadzees hosteet.....Jo uz normaali(lasi pareizi) nokonfigureeta servera GLOBALS=OFF buus pagruuti atras hosteetaaju kas iesleegs prieksh tevis 'ON' (kautgan ja labi maksa - tad bez probleemaam) Es jaw php kodu diezgan labi esmu apguvis, bet runa ir par manu klasesbiedru! Unj pashlaik naw doma ka to skriptu liks kk arpusee webaa! Vnk kad es vinjam raaadiiju to ka jaaraxta ar visiem tiem $_GET vinjam nez kpc likaas paaraak sarezhgjiits! :/ Link to comment Share on other sites More sharing options...
Grey_Wolf Posted November 28, 2005 Report Share Posted November 28, 2005 (edited) leisure--> vel vari dariit taa: Apache configaa sameklee: # Action application "/php/php.exe" un pievieno: <Directory "C:/Apache/htdocs"> php_flag register_globals on </Directory> --------- tas ljau katrai direktorijai uzstaadiit ko vajag.... papeeti par php_flag P.S. kam taisi liekas qutes? Edited November 28, 2005 by Grey_Wolf Link to comment Share on other sites More sharing options...
blackhalt Posted November 28, 2005 Report Share Posted November 28, 2005 Vēl atslēdz safe mode un vispār dari visu pretēji kā šeit un būs ok: C3.5 How to Protect against PHP Vulnerabilities http://www.sans.org/top20/#c3 Link to comment Share on other sites More sharing options...
Recommended Posts