Re: Undefined variable: Usuario

From: Date: Tue, 02 Jul 2002 05:39:45 +0000
Subject: Re: Undefined variable: Usuario
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-7571@lists.php.net to get a copy of this message
Hiya... Firstly - check your register_globals, and check the archives - there are heaps of explanations about this problem. Secondly, and more importantly - I would strongly recommend against passing any database details (especially your root password) in a query string where anyone can see it. Hope that helps, Matt "Jose Antonio Tuesta" <ptuesta@hotmail.com> wrote in message news:F101GYwvimdzhUOEO5E00003b96@hotmail.com... > Configuration > Win 2000 whit IIS 4 and I installed php-4.2.1-installer.exe, Mysql > > Problem > I put in a form index.htm some variables whit text boxs and in the submit > botton call menu.php3 file in the action GET > I have a problem in my web apper me this error message. > I dont why I cant pass the value to the form or not reconize my variables. > > > address in the internet > explorer > ---------------------- > http://jtuesta/myweb/webs/dbadmin/menu.php3?Usuario=root&Password=&BaseDeDat os=MyWeb&localhost=jtuesta&B1=Enviar > > Message in the internet explorer. > --------------------------------- > Notice: Undefined variable: Usuario in G:\My > Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 22 > > Notice: Undefined variable: Password in G:\My > Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 22 > > Notice: Undefined variable: BaseDeDatos in G:\My > Documents\paginaweb\MiWeb\mipagina\webs\dbadmin\menu.php3 on line 23 > > This is my code > -------------- > <p><font size="4">Está trabajando sobre la Base - > Menu</font><font size="5"> > <script language="php"> > $Conexion = mysql_connect("localhost",$Usuario,$Password); > $DBId = mysql_select_db($BaseDeDatos); > </script> > > > > > > > > > > > _________________________________________________________________ > MSN. Más Útil cada Día. http://www.msn.es/intmap/ >

« previous php.install (#7571) next »