Posted by warth33 on 10/16/01 12:00
Oh well. In the C# newsgroup no one could help me. They dont seem to
have any idea o nwhat is going on. I tryed to explain the problem as
detailed as possible, but nothing..
Today I tryed something quite basic. It sounded as it was a good
solution, so bad that I hadnt tried it before. Setting time limit. The
thing was that the time limit in php ini is set to 0 on the server.
So I put this in a test script:
set_time_limit(10);
try{
echo 'before exec';
log('before exec');
$ret = exec('path_to_exx_file.exe');
echo 'exec returned ' . $ret;
log('exec returned ' . $ret);
}
catch(Exception $e){
echo 'failed due to: ' . $e;
log('failed due to: ' . $e);
}
Note that this script was calling a simple Hello world c# program.
But neither this helped me. The script will run for ever.
Is there really not anyone that can help me out, just give me some
good hint of what the problem can be? Arent they any gurus there out??
Navigation:
[Reply to this message]
|