Hi Alice
First, make sure about the value on $market and $length. Yeah, it's simple.
echo $market;
echo $length;
$a= shell_exec("./test.exe -m$market -d$length");
echo $a;
Second: "http://www.chipmunkninja.com/Program-Execution-in-PHP:-exec-m@@";
A good explanation to use external commands (
gt; On Wed, Aug 27, 2008 at 1:49 PM, Nathan Nobbe <[EMAIL PROTECTED]>wrote:
>
>> On Wed, Aug 27, 2008 at 1:35 PM, Paulo Sousa <[EMAIL PROTECTED]
>> > wrote:
>> ...
>>
>
> this *should* work,
>
> here is a test, tests/classes/__call_005.phpt, you
Hi there!
I'm working with the following code:
a = $arg;
}
function __call($function, $args){
$this->b = $function;
$this->c = $args;
$this->doWhatever();
}
private doWhatever(){
}
}
class Boo extends Foo{
protected $e;
public function __construct(){
parent::__construct('Blah');
}
3 matches
Mail list logo