From: enzo venegas palacios <enzovenegas@mixmail.com>
To: pgsql-php@postgresql.org <pgsql-php@postgresql.org>
Subject: exec format
Date: Wed, 28 Sep 2005 17:00:20 -0500
Message-ID: <E1EKjyO-00046B-00@relay.mixmail.com> (raw)
hi, I am trying to execute a line of commands of DOS and need to put ""
inside the sequence, for the format of the instruction exec it does not
leave me, someone can solve like this
Ej:
Exec (" C:\Program Files\PostgreSQL\8.0.0-rc2\bin \> pg_dump -i - or - or
postgres -Fc-b-v-f c:\path\res " .$name. ".backup name_db ");
Here the variable is supposed q happens well, but the correct instruction is:
Exec (" C:\Program Files\PostgreSQL\8.0.0-rc2\bin \> pg_dump-i - or - or
postsgres -Fc-b-v-f "c:\path\res" .$name. ".backup" name_db");
And here it throws the mistake to me, it q am trying to do it is to execute
pg_dump from php, any idea in the matter, thank you
enzo
---------------------------------------------------------
Juega y llévate una PS2 two: http://juegos.ya.com/consolas_y_pc/2005/09/concurso-ps2.html
Ya.com ADSL 2MB + Llamadas 24 horas: desde 26,95 /mes + IVA. Navega y habla de forma ilimitada. Sin compromiso de permanencia. http://acceso.ya.com/ADSLllamadas/2mb
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: enzovenegas@mixmail.com
Subject: Re: exec format
In-Reply-To: <E1EKjyO-00046B-00@relay.mixmail.com>
References: <E1EKjyO-00046B-00@relay.mixmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox