🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ¿Como Perl llama a otra cgi?

#16786
From: batsman batsman
Date: Wed, 22 Mar 2000 00:00
62 lines
3204 bytes
-----BEGIN PGP SIGNED MESSAGE-----

In article <8bag4h$kmc$2@news.unizar.es>, J.A. Gutierrez wrote:
>Borja <Debajodeltexto@xxx.com> wrote:
>
>:>
>:>     Cuenta me m�s.
>:>
>:>     David.
>:>
>
>: Si es necesario, por que estoy montando un sistema de comercio electronico,
>: y la segunda cgi solo entiene de precio total y ya est� compilada por el
>: banco. y la primera cgi ha de calcular el precio total. Si solo usase la
>: segunda cgi y un enlace que fuese a esa, el sistema no seria seguro.
>
>
>	estoy de acuerdo en que casi seguro que se puede hacer de
>	otra forma mas racional y segura; pero en todo caso, es
>	posible; de muchas formas, ademas.
>
>	Un ejemplo puede ser que el primer CGI llame a
>
>	lynx -source http://example.com/cgi-bin/foo.cgi y extraiga
>	los datos que necesite de la salida de ese comando.
>
>	Otra forma puede ser programandote los sockets a pelo con
>	perl (no es dificil, pero te puede resultar engorroso si
>	no estas acostrumbrado)

mejor con el m�dulo HTTP...

>	Y otra intermedia, usar modulos de HTTP para perl, que apostaria
>	a que existen.

Apostaste bien :-) man HTTP::Request

- -- 
              _           _                             
             | |__   __ _| |_ ___ _ __ ___   __ _ _ __  
             | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
             | |_) | (_| | |_\__ \ | | | | | (_| | | | |
             |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
  ________________________________________________________________
 |Visit   |  http://www.geocities.com/SiliconValley/Vista/2075    |
 |Linux   |  http://www.geocities.com/SiliconValley/Vista/4289    |
  ----------------------------------------------------------------
  Real email: batsman dot geo at yahoo dot com

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: Public key via email: send mail with Subject: [PGPKEY]

iQEVAwUBONlFOb0Y27yr0iefAQGG8wf9HEHjVMRKprTNF5ClMsTUC4kPLbyp1stI
D8MQoKx1skt+nIytnIqtvqrwHOBwNytm/wgvAGC6KNMakTK2OiCvcICsWXiyA0VF
gYCcp41adw4/2+WWXCd4g2pH0TwUP1yunT5fCrduj6G7fTRIFw+jqyZHuEPDKKYB
XgiNVk9qOaWny16qQodLyp2G4eQf4iwpXSFNeve4XsihpNHYSV48pq7/IlJMAqea
RzL0QD1ilGfn2HCGwdPKLbjpMaVVU06z/gh93cZg2fKfcikTzZ+vTGUwOHkOCKZj
5ZjQ8E7l4cPVWXxahG+sO9DncVeZdorLZ7PGxd6SjpXNkg4g54sRMg==
=sZoQ
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <ufgbb8.1h1.ln@simpsons4ever>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8b86ar$433$1@diana.bcn.ttd.net> <38D7E75D.880C3438@selftrade.com> <8ba3j5$ona$1@diana.bcn.ttd.net> <8bag4h$kmc$2@news.unizar.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,3dcf4b3e4deade21
X-Google-Attributes: gidf86c8,public
From: batsman@simpsons4ever. (batsman)
Subject: Re: ¿Como Perl llama a otra cgi?
Date: 2000/03/22
Message-ID: <ufgbb8.1h1.ln@simpsons4ever>
X-Deja-AN: 601028920
Content-Transfer-Encoding: 8bit
References: <8b86ar$433$1@diana.bcn.ttd.net> <38D7E75D.880C3438@selftrade.com> <8ba3j5$ona$1@diana.bcn.ttd.net> <8bag4h$kmc$2@news.unizar.es>
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@news.wanadoo.es
X-Trace: m2newsread.uni2.es 953761405 62.36.25.70 (Wed, 22 Mar 2000 22:43:25 MET)
Organization: Wanadoo Usenet News - Visita http://www.wanadoo.es/
Mime-Version: 1.0
Reply-To: see_signature-mira_firma
NNTP-Posting-Date: Wed, 22 Mar 2000 22:43:25 MET
Newsgroups: es.comp.os.linux.programacion