Re: problems with exec command
| From: | Inpho | Date: | Wed, 30 Apr 2003 04:28:39 +0000 |
| Subject: | Re: problems with exec command | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-145726@lists.php.net to get a copy of this message | ||
I just found out the problem....
Our server decided to move us from a Win2k box over to a brand new linux box
with all the bells and whistles.... only problem is they forgot to tell
us... lol
Well no wonder i was having problems. the program I was trying to run is a
.exe. Have to get the programmer to recompile a version for linux.
- paul -
"Inpho" <inphorm@gmx.net> wrote in message
news:20030430034615.82229.qmail@pb1.pair.com...
> Hey all,
>
> I recently had problems working out how to run an exec command or
something
> similar. I came up with:
>
> system("keygen $mac", $res);
> print "$res<br>";
>
> which worked fine on my test machine: win98se, apache, php, mysql
>
> when i upload it to the live machine which is Win2k, IIS, php
> it won't output what i want it to. all the permissions are set to 755
> I've tried it on 777 as well, made no difference.
>
> Any help?
>
> - paul -
>
>