🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #7849

Re: php y el paso de valores INPUT

#7849
From: "Jesús M. NAVARRO"
Date: Tue, 14 Jan 2003 01:20
30 lines
2162 bytes
Hola, sefarad:

sefarad wrote:
> Hola a todos.
> 
> Estoy inici�ndome en el tema del php. Estoy haciendo el t�pico formulario de 
> html incluyendo en el las siguientes l�neas:
> 
> FORM name="sistemas" method="POST" action="insert_bd_sis.php">
> .........
> <INPUT type="text" name="Nombre" size="25" />
> ...............
> <INPUT type="text" name="Version" size="10" />
> ......................
> que apunta al fichero php donde tengo la conexi�n con mysql, la selecci�n de 
> la bd, la inserci�n de los registros y la desconexi�n con mysql.com�n para 
> varios tipos de formularios. El problema es que no tengo muy seguro si 
> a�adiendo la sentencia FORM rese�ada es suficiente para que ya le pase al 
> fichero php "insert_bd_sis.php" las variables "Nombre" y "Version" tal y 
> como las llamo en ambos INPUT.
> 

S� que las pasa, s�: �chale un vistazo al hash $HTTP_POST_VARS[], en 
este caso, a $HTTP_POST_VARS["Nombre"] y $HTTP_POST_VARS["Version"]
-- 
SALUD,
Jes�s
***
jesus_navarro@undominio.net
***
Technical Details
Message-ID: <p85cf-vpg.ln1@mithrandir.intranet>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!212.97.187.85!not-for-mail
References: <avvkcj$c8b$1@nsnmpen2-gest.nuria.telefonica-data.net>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,65c12d922caf9ebd
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-01-14 04:12:12 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!212.97.187.85!not-for-mail
From: "Jesús M. NAVARRO"
 <jesus_navarro@undominio.net>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: php y el paso de valores INPUT
Date: Tue, 14 Jan 2003 02:20:56 +0100
Lines: 31
Message-ID: <p85cf-vpg.ln1@mithrandir.intranet>
References: <avvkcj$c8b$1@nsnmpen2-gest.nuria.telefonica-data.net>
NNTP-Posting-Host: 212.97.187.85
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1042546330 20645181 212.97.187.85 (16 [173178])
X-Orig-Path: mithrandir.intranet!news
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.2.1) Gecko/20021226 Debian/1.2.1-9
X-Accept-Language: es-es, es
In-Reply-To: <avvkcj$c8b$1@nsnmpen2-gest.nuria.telefonica-data.net>