> 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?
you could just use http://us2.php.net/file_get_contents
--
PHP Gen
On Thu, 29 Jul 2004 17:25:10 -0700, Justin Patrin <[EMAIL PROTECTED]> wrote:
> On Fri, 30 Jul 2004 00:06:33 + (UTC), Jonathan Lassoff
> <[EMAIL PROTECTED]> wrote:
> > Justin Patrin gmail.com> writes:
> > > You could "fix" this script by actually giving it a file to output to
> > > and reading
On Fri, 30 Jul 2004 00:06:33 + (UTC), Jonathan Lassoff
<[EMAIL PROTECTED]> wrote:
> Justin Patrin 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 co
Justin Patrin 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.ph
On Thu, 29 Jul 2004 23:25:41 + (UTC), Jonathan Lassoff
<[EMAIL PROTECTED]> wrote:
> Justin Patrin gmail.com> writes:
> > Assuming there's only one table in the document
> >
> > preg_match('!]*>.*!i', $text, $matches);
> > $table = $matches[0];
>
> Thanks! I thought that I was putting it i
Justin Patrin gmail.com> writes:
> Assuming there's only one table in the document
>
> preg_match('!]*>.*!i', $text, $matches);
> $table = $matches[0];
Thanks! I thought that I was putting it into a variable, but poking around with
the script, it actually is just pooping out all the fetched
6 matches
Mail list logo