Hi vasanthm,
I think you're going to be in trouble if you intend to run an infinite loop in PHP.
PHP only runs on the server so the client can't interact with it directly, only by sending a 'page request' back to the server after PHP has finished.
Paul :queasy: