I think it's wrong:
system(' "C:/Program Files/GAMS23.7/gams.exe "C:/Program
Files/GAMS23.7/trnsport_php.gms'))

Instead, try this:
system(' "C:/Program Files/GAMS23.7/gams.exe" "C:/Program
Files/GAMS23.7/trnsport_php.gms" '))

It is a good practice to write full path because we don't know
behaviour any operating system we use when we just use simple name.


On Fri, Feb 17, 2012 at 7:12 PM, Negin Nickparsa <nickpa...@gmail.com> wrote:
> if (($out = system(' "C:/Program Files/GAMS23.7/gams.exe "C:/Program
> Files/GAMS23.7/trnsport_php.gms')) !== FALSE)
> {
>  print('Not error!');
>
>  printf('Output is "%s"', $out);
> }
> else
> {
>  print('Error');
> }
> Fatih it shows again nothing why I should set the full path even when I run
> my file on the path I don't think so that it is needed I don't know how to
> work with these quotations was it right Duken?



-- 
Duken Marga

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to