Re: Running a system command from php
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Running a system command from php

From: jsw_nz <jswnz@xtra.co.nz>
Date: Fri Sep 09 2005 - 11:59:38 CEST

Hi Peter,

I condensed the string (just to simplify things), but still it does not
seem to work inside php/system command. I tested in standalone command
prompt....so the expression is correct. One thing as far as this script
is concerned is that the -dest=st_staff utilizes a mysql odbc DSN. I am
wondering if that is throwing it. As far as I know the agent
application requires this in order to function.

A2SAGENT.EXE --dest=st_staff --src=C:\ST_2005.mdb
--tab_file=C:\whichTables.txt --mode=1

The dump_var returns int(1) but the import is not occurring. Thanks for
your help.
Received on Mon Oct 24 02:09:51 2005