From: | "enzo venegas palacios" <enzovenegas(at)mixmail(dot)com> |
---|---|
To: | "pgsql-php(at)postgresql(dot)org" <pgsql-php(at)postgresql(dot)org> |
Subject: | exec format |
Date: | 2005-09-28 22:00:20 |
Message-ID: | E1EKjyO-00046B-00@relay.mixmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
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 llvate 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
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2005-09-29 08:50:42 | Re: exec format |
Previous Message | John DeSoi | 2005-09-28 17:15:51 | Re: Error restoring |