Reply to Re: exec php

Your name:

Reply:


Posted by warth33 on 11/04/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??

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация