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? Link to comment https://forums.phpfreaks.com/topic/96096-page1-pulling-from-page2/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.