Re: socket question
| From: | Tim Ballantine | Date: | Thu, 25 Oct 2001 09:14:34 +0000 |
| Subject: | Re: socket question | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72229@lists.php.net to get a copy of this message | ||
That is, using a socket, that it gives me the one line. echo'ing it gives
the whole thing.
Tim
"Tim Ballantine" <pot.noodle@blueyonder.co.uk> wrote in message
news:20011025091104.26980.qmail@pb1.pair.com...
> That seems to just give me the first line, of:
> <html><head><title>PHP Credits</title></head><body>
> but nothing else after that. Any ideas? :)
>
> Tim
> "James Cave" <james.cave@websi.com.au> wrote in message
> news:3BD75437.F396DCE5@websi.com.au...
> >
> > There is some source code on the php.net site which captures the credits
> > with output buffering and then uses then in the page. Once you have the
> > data in a variable you can do what you like to it.
> >
> > if (function_exists('ob_start')) {
> > ob_start();
> > phpcredits();
> > $credits = ob_get_contents();
> > ob_end_clean();
> > }
> >
> > Maybe that will do the trick.
>
>