Re: poblemillas con configuracion de php 4.3.4

From: Date: Thu, 08 Jan 2004 18:51:12 +0000
Subject: Re: poblemillas con configuracion de php 4.3.4
References: 1 2 3 4  Groups: php.general.es 
Request: Send a blank email to general-es+get-44248@lists.php.net to get a copy of this message
sabes que revise el php.ini que se encuentra en c:\php\BACKUP\ esta asi (esta en ON) ; This directive describes the order in which PHP registers GET, POST, Cookie, ; Environment and Built-in variables (G, P, C, E & S respectively, often ; referred to as EGPCS or GPC). Registration is done from left to right, newer ; values override older values. variables_order="EGPCS" ; 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=On ; This directive tells PHP whether to declare the argv&argc variables (that ; would contain the GET information). If you don't use these variables, you ; should turn it off for increased performance. register_argc_argv=On ; Maximum size of POST data that PHP will accept. post_max_size=8M me sigue dando problemas y no quiero hacer esto($_GET["nombre"]) para recuperar las variables ya que tengo todo de esta forma $nombrevariable. quenhago help please Un abrazo ----- Original Message ----- From: "Juan Pablo Herrera" <juampi@2xd.com.ar> To: <lista@phpes.com> Sent: Wednesday, January 07, 2004 9:37 PM Subject: Re: [PHP-ES] poblemillas con configuracion de php 4.3.4 > El mié, 07-01-2004 a las 21:26, Pablo escribió: > > alguien me puede ayudar > > > > antes tenia php4.0.2 y ahora lo actualice a php4.3.4 > > > > al hacer funcionar las mismas *.php que tenia(que funcionaban correctamente) > > al parecer no envia las variables por post ni por get, porque la *.php que > > las recibe aparece el siguiente mensaje: > > > > Notice: Undefined variable: pass in > > c:\apache\htdocs\paginas\validaingreso.php on line 29 > > > > > > como puedo corregir esto? > > necesito que envie las variables por post o get segun sea el caso > > > > porfa ayudenme. > > > > Hola, primeramente seria interesante que copies lo que dice la linea 29. > Pero tambien seria interesante que verifiques php.ini para ver si el > register_global esta en ON. Creo que es esto. > > Saludos, > Juan Pablo > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com >

« previous php.general.es (#44248) next »