[PHP] Re: socket question

2001-10-25 Thread Tim Ballantine

That seems to just give me the first line, of:
htmlheadtitlePHP Credits/title/headbody
but nothing else after that. Any ideas? :)

Tim
James Cave [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 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.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: socket question

2001-10-25 Thread Tim Ballantine

That is, using a socket, that it gives me the one line. echo'ing it gives
the whole thing.

Tim
Tim Ballantine [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 That seems to just give me the first line, of:
 htmlheadtitlePHP Credits/title/headbody
 but nothing else after that. Any ideas? :)

 Tim
 James Cave [EMAIL PROTECTED] wrote in message
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 
  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.





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]