On Fri, 30 Jul 2004 00:06:33 +0000 (UTC), Jonathan Lassoff <[EMAIL PROTECTED]> wrote: > Justin Patrin <papercrane <at> gmail.com> writes: > > You could "fix" this script by actually giving it a file to output to > > and reading it or by using output buffering to grab the output into a > > string. > > > > Or you could use some code which gives you a better interface for all > > of this, such as: > > http://pear.php.net/package/HTTP_Request > > I would rather not put it into a file as it will be changing in real time > dynamically so it would put some strain on the filesystem. All I really want to > do now is just stick it into a string variable. How could I do that? >
Well, HTTP_Request will do it out of the box. If you wanto use curl....look for more docs as I don't really know its specifics. You can also look at the outputbuffering functions in the PHP manual. (start with ob_star) -- DB_DataObject_FormBuilder - The database at your fingertips http://pear.php.net/package/DB_DataObject_FormBuilder paperCrane --Justin Patrin-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php