You should be able to use any of the file commands. eg. $contents = file("http://www.myserver.com/outputpage.php");
fopen(), etc should all work too. Martin > -----Original Message----- > From: Russell P Jones [mailto:[EMAIL PROTECTED] > Sent: Wednesday, 31 March 2004 9:25 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Extracting Output from File... > > > Basically there is a php page... lets say > > http://www.myserver.com/outputpage.php > > that picks up some info from a database and echos it out as > plain text to > the browser. > > I want to use php in a different file to go pick up whatever > is printed > out to that file and save it to a variable.. > > basically like - > > $contentofpage = getoutput("http://www.myserver.com/outputpage"); > > any ideas? I need it to pick up the output, not something > that actually > reads the content of the file... > > Russ Jones > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > __________ Information from NOD32 1.617 (20040206) __________ > > This message was checked by NOD32 for Exchange e-mail monitor. > http://www.nod32.com > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php