Look like there is still some problem with the code, i will check and update my code..

Problem was caused by today's PHP downgrade on server48 due to some clients still have older scripts and those sites where down after we upgrade to latest PHP version.

I will update script example, we have to use a new PHP function called while... and Object for this example to work on PHP version 5.3.x