ho aperto php.ini e register_globals = è su Off, ho provato a metter On ma non cambia nullaOriginariamente inviato da nicola75ss
Ancora non ho guardato il tuo codice.
Toglimi una curiosità però.
Apri il file php.ini e su trova digita register.
Vai avanti finchè non ti trova la voce register_global e dimmi se è settata su on o su off.
P.S. le righe precedute dal ; sono commenti.Quindi cerca la prima riga non commentata.Magari è solo quello il tuo problema.
Nel frattempo provo il tuo codice.
PHP.ini
____________________
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
__________________________
; PHP 4.2 and less have an undocumented feature/bug that allows
you to
; to initialize a session variable in the global scope, albeit
register_globals
; is disabled. PHP 4.3 and later will warn you, if this feature is used.
; You can disable the feature and the warning seperately. At this
time,
; the warning is only displayed, if bug_compat_42 is enabled.

Rispondi quotando