Masti6 just remember that you have a whole minute to get the answer and do not need a continuous poll , so processing power should not be the issue. CodeX provided all you need (ironically true ).
I think that your problem is that you do not have enabled error reporting and displaying in php. This can be done through php.ini or by using this code at the start of your file:
Masti6 You will probably need to leave your computer running for at most a day but probably less than 12 hours. The correct minute depends on your location (for me it was during the night but i am probably on the other side of the world :-P) In addition, many real world scenarios require this kind o...