🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: script php

#8060
From: catactttc
Date: Sun, 12 Jan 2003 15:17
11 lines
1811 bytes
In article <slrna40kh7.55c.tete@chitipc.chiti.org>, tete wrote:
> Por ejemplo, ejecutar tu comando en una shell (bash) ser�a tan 
> simple como esto:
> 
> $ echo "insert into user (host,user,password) \
> values ('localhost','pepe','passwd');" | mysql nombre_de_la_base_de_datos
> 
> Simplemente env�a el comando a trav�s de un pipe a mysql. Esto en scripts
> abre un enorme abanico de posibilidades.

es un buen ejemplo.
Technical Details
Message-ID: <slrnb231r6.69.catactttc@paleo.chiti.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news.telia-iberia.com!news.rediris.es!news.uv.es!not-for-mail
References: <avrmdu$i8d5c$1@ID-101278.news.dfncis.de> <slrnb22r02.39.catactttc@paleo.chiti.org> <avrr2a$iobvu$1@ID-101278.news.dfncis.de> <slrna40kh7.55c.tete@chitipc.chiti.org>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,741c2d5d0a89219b
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-01-12 07:18:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn13feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed.earthlink.net!newsfeed.news2me.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!news-out.spamkiller.net!propagator2-maxim!news-in.spamkiller.net!news.telia-iberia.com!news.rediris.es!news.uv.es!not-for-mail
From: catactttc <catactttc@nospam.aqui.com>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: script php
Date: Sun, 12 Jan 2003 15:17:02 +0000 (UTC)
Organization: Universitat de Valencia
Lines: 11
Distribution: es
Message-ID: <slrnb231r6.69.catactttc@paleo.chiti.org>
References: <avrmdu$i8d5c$1@ID-101278.news.dfncis.de> <slrnb22r02.39.catactttc@paleo.chiti.org> <avrr2a$iobvu$1@ID-101278.news.dfncis.de> <slrna40kh7.55c.tete@chitipc.chiti.org>
NNTP-Posting-Host: 193-153-150-39.uc.nombres.ttd.es
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: peque.uv.es 1042384622 5390 193.153.150.39 (12 Jan 2003 15:17:02 GMT)
X-Complaints-To: newsmanager@uv.es
NNTP-Posting-Date: Sun, 12 Jan 2003 15:17:02 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)