Article View: es.comp.os.linux.programacion
Article #7850Re: php y el paso de valores INPUT
From: Zahori
Date: Tue, 14 Jan 2003 12:30
Date: Tue, 14 Jan 2003 12:30
45 lines
2790 bytes
2790 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
El Mar 14 Ene 2003 01:10, sefarad escribi� en
<avvkcj$c8b$1@nsnmpen2-gest.nuria.telefonica-data.net>:
>
> 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.
Aparentemente est� bien. Ahora tendr�s que recogerlas en el .php mediante
las variables $HTTP_POST_VARS o $_POST (dependiendo de la versi�n de PHP
que tengas).
saludos,
- --
Zahor�
Clave p�blica:
http://pgp.rediris.es:11371/pks/lookup?op=get&search=0x2B71812D
No importa lo r�pido que viaje la luz; siempre se encuentra con que la
oscuridad ha llegado antes y la est� esperando.
-- Terry Pratchett, El Segador.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+JALwQhcKRStxgS0RAlb0AKCUmomKCRhrLFHEPN4Lp4in4du1jQCfWbVG
FmtKQUCK9tK2Yo9omj5F3Wo=
=S+me
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<1042547388.180454@seux119>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newspeer1.nac.net!news-out.newsfeeds.com!propagator2-maxim!news-in.spamkiller.net!news.telia-iberia.com!news.rediris.es!newsfeed.bt.es!news.bt.es!not-for-mailReferences:
<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:32:17 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newspeer1.nac.net!news-out.newsfeeds.com!propagator2-maxim!news-in.spamkiller.net!news.telia-iberia.com!news.rediris.es!newsfeed.bt.es!news.bt.es!not-for-mail From: Zahori <zahori@siritinga.es> Newsgroups: es.comp.os.linux.programacion Subject: Re: php y el paso de valores INPUT Date: Tue, 14 Jan 2003 13:30:40 +0100 Organization: Siritinga Lines: 45 Message-ID: <1042547388.180454@seux119> References: <avvkcj$c8b$1@nsnmpen2-gest.nuria.telefonica-data.net> NNTP-Posting-Host: 212.79.128.146 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8Bit X-Trace: titan.bt.es 1042546337 25034 212.79.128.146 (14 Jan 2003 12:12:17 GMT) X-Complaints-To: abuse@bt.es NNTP-Posting-Date: 14 Jan 2003 12:12:17 GMT User-Agent: KNode/0.7.1 Cache-Post-Path: seux119!unknown@cliente-213227019199.cm256.manpc.supercable.es X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/)