Re: how to execute Exe file in system

From: Date: Fri, 17 Feb 2012 15:04:42 +0000
Subject: Re: how to execute Exe file in system
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.general 
Request: Send a blank email to php-general+get-316702@lists.php.net to get a copy of this message
I found the correct one: $cmd = 'C:\Progra~1\GAMS23.7\gams.exe'.' '.escapeshellarg('C:\Progra~1\GAMS23.7\trnsport_php.gms').' 2>&1'; $out = $cmd; var_dump($out); It will show NULL,so No error and I am sure it is correct because If I change gams.exe to egams.exe it recognizes but It can't run through system so my problem in path file has solved here Thanks to All of you. now I should find some solutions for permissions It doesn't relate to address file if I'm correct On Fri, Feb 17, 2012 at 5:27 PM, Negin Nickparsa <nickparsa@gmail.com>wrote: > :) > > > On Fri, Feb 17, 2012 at 5:27 PM, Fatih P. <fatihpiristine@gmail.com>wrote: > >> well then fix it. i m not using editor. >> > >

« previous php.general (#316702) next »