zipp Posted March 14, 2008 Share Posted March 14, 2008 my problem; page1 and page2 are hosted on diffrent servers. page2 uses: <? $i=0; while($i < 100){ $i++; sleep(1); echo $i." "; flush(); ob_flush(); } ?> what I want: I want page1 to display page2 as it is being updated. The best idea came from 8ball who said: The best way you may want to approach this is a mix of PHP and javascript/AJAX. Use AJAX to continually poll page2.php and print the result into page1.php. That is why I decided to make a post in the AJAX forum. Question: Does anyone have a script i could put on page1 to pull the data from page2, or could you point me to some tutorials/articles? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.