Re: Re: Searching and removing
| From: | Justin Patrin | Date: | Fri, 30 Jul 2004 00:25:10 +0000 |
| Subject: | Re: Re: Searching and removing | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192263@lists.php.net to get a copy of this message | ||
On Fri, 30 Jul 2004 00:06:33 +0000 (UTC), Jonathan Lassoff
<jlassoff@gmail.com> 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--