🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

script php

#8055
From: kurtsik
Date: Sun, 12 Jan 2003 12:18
36 lines
2107 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Salu2.
Bueno, la cuestion es que quiero hacer un script para automatizar la 
creacion de usuarios (y sus privilegios) para mysql y lo mas facil me ha 
parecido hacerlo en php, y ahi surge mi duda :-( que no he conseguido 
aclarar:

Se puede hacer un script de php?(quiero decir que funcione como uno de 
shell, no embebido en html)

        -Si es asi, como se le indica a la shell que el interprete de coman
dos es php?

Si no es posible he pensado que la alternatiba podria ser un script de bash 
pero con otra duda:
        -como se le indica a la shell que el comando que se introduce l
o deve ejecutar mysql?

Bueno, y creo que eso es todo.
Gracias mil :-)
- -- 
- - - ------------------------------------------------------------------
   "Euskera da euskaldun egiten gaituena"
 
   Mandrake 9     Linux erabiltzaile errejistratua: #231651
   GnuPG giltza: www.rediris.es/pgp ---> kurtsik_news
 - ------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Iq7s6gRb2POS43sRAjzjAJ9uDPYC7ya4Ye9HKvGc+SNAK+bkKACffXdJ
1RpseHqMMXT1PKOFmoPGJGk=
=Xsp2
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <avrmdu$i8d5c$1@ID-101278.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!221.red-80-35-97.pooles.rima-tde.NET!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,741c2d5d0a89219b,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2003-01-12 04:18:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!221.red-80-35-97.pooles.rima-tde.NET!not-for-mail
From: kurtsik <kimera@euskalnet.net>
Newsgroups: es.comp.os.linux.programacion
Subject: script php
Date: 12 Jan 2003 12:18:07 GMT
Lines: 36
Message-ID: <avrmdu$i8d5c$1@ID-101278.news.dfncis.de>
Reply-To: merlinaztia*STOPSPAM*@mixmail.com
NNTP-Posting-Host: 221.red-80-35-97.pooles.rima-tde.net (80.35.97.221)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: fu-berlin.de 1042373887 19149996 80.35.97.221 (16 [101278])
User-Agent: KNode/0.7.1