Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/05/2005, 12:50
raml
 
Fecha de Ingreso: abril-2005
Mensajes: 50
Antigüedad: 19 años
Puntos: 0
Register Globals

Hola, no en verdad es un hecho que es php.ini ya que también lo he probado con el código de varios libros. Se me ocurrió que también podría ser algo relacionado con php.ini en la parte de data handling ya que, aunque no se recomienda puse register_globals en on y si pude entrar a zona de administración del script, pero el problema es que cada que doy click en alguna opción me regresa al login como si nunca lo hubiera hecho además de que es mejor tener esta opción en Off.

Saludos


A continuación pongo los datos de mi php.ini en esa parte:

Código PHP:
;;;;;;;;;;;;;;;;;
Data Handling ;
;;;;;;;;;;;;;;;;;
;
Note track_vars is ALWAYS enabled as of PHP 4.0.3

The separator used in PHP generated URLs to separate arguments.
; Default 
is "&".
;
arg_separator.output "&"

; List of separator(sused by PHP to parse input URLs into variables.
; Default 
is "&".
NOTEEvery character in this directive is considered as separator!
;
arg_separator.input ";&"

This directive describes the order in which PHP registers GETPOSTCookie,
Environment and Built-in variables (GPCS respectivelyoften
referred to as EGPCS or GPC).  Registration is done from left to rightnewer
values override older values.
variables_order "GPCS"

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

Whether or not to register the old-style input arraysHTTP_GET_VARS
; and friends.  If you're not using them, it's recommended to turn them off,
; for 
performance reasons.
register_long_arrays Off

This directive tells PHP whether to declare the argv&argc variables (that
would contain the GET information).  If you dont use these variablesyou
should turn it off for increased performance.
register_argc_argv Off

Maximum size of POST data that PHP will accept.
post_max_size 8M