Use ajax to call asynchronous php scripts.