On Mon, 1 Dec 2003, Wouter van Vliet wrote: > <?php > print "!!!"; > ob_start(); > include 'http://server.com/test/echo.php'; > $XML = ob_get_clean(); // or use ob_get_contents(); and ob_end_clean() for > PHP < 4.3 > print "???"; > > print '[Between this you'll get your XYZ]'; > print $XML; > print '[Between this you'll get your XYZ]'; > ?>
Or just use file_get_contents() which would be more efficient than using output buffering for this. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php