[LUGOS] Apapche in PHP parametri
Gregor Berginc
gregor.berginc at guest.arnes.si
Wed Dec 1 07:27:15 CET 2004
Zivjo,
>> Kako naredit, da to ne bi bilo potrebno, ti pa ne povem, da se ne
>> zakoljes po nepotrebnem.
Ce se prav spomnim so to v novejsih verzijah PHP-ja ukinili zaradi
varnosti. Sicer obstaja v nastavitvah (ne vem tocno katera), ampak mocno
odsvetujejo.
> Vseeno me zanima, ker bom imel nakatere skripte vnaprej
> pripravljene(ravno z eno tako se zdaj matram) in jih nebi rad popravljal.
> Vsaj to mi povej ali ta rešitev globalna ali jo lahko limitiram na eno
> direktorijsko drevo?
Khm... ne vem, ce. Sicer imas v php.ini moznost, da to spremenis, ampak
ne vem, kako lahko dolocis zgolj za eno drevo. Spodnje se nanasa na tvoj
problem:
-------------------------------------------------------------------------
; Whether or not to register the EGPCS variables as global variables.
You may
; want to turn this off if you don't want to clutter your scripts'
global scope
; with user data. This makes most sense when coupled with track_vars -
in which
; case you can access all of the GPC variables through the $HTTP_*_VARS[],
; variables.
;
; You should do your best to write your scripts so that they do not require
; register_globals to be on; Using form variables as globals can easily
lead
; to possible security problems, if the code is not very well thought of.
register_globals = Off
-------------------------------------------------------------------------
Torej, ce popravis na On, ti bo delalo, ampak... Pazi!
lp,
Grega
More information about the lugos-list
mailing list