How to insert a reference to a blog in my entry?
ob_get_contents returns FALSE?
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > PHP web-programming > ob_get_contents returns FALSE? 6 June 2003 17:35:04

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

ob_get_contents returns FALSE?

Shawn McKenzie 6 June 2003 17:35:04
 I can't get ob_get_contents() to return false, or I don't know how to test
for it. Help appreciated. The following never echos STARTING!!!

ob_end_flush();
if(ob_get_contents(­) === FALSE) {
echo "STARTING!!!";
ob_start();
}

also tried: if(ob_get_contents(­) == FALSE)
and: if(!ob_get_contents­())
and: if(ob_get_contents(­) == "")

But I do get the following notice at the ob_end_flush(); line which tells me
that output buffering is not on:

Notice: ob_end_flush() [ref.outcontrol]: failed to delete buffer default
output handler.

Thanks!
Shawn



--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
Shawn McKenzie 6 June 2003 17:35:04 permanent link ]
 Any advice?

Thanks!
Shawn

"Shawn McKenzie" <nospam@mckenzies.n­et> wrote in message
news:20030605201042­.85858.qmail@pb1.pai­r.com...> I can't get ob_get_contents() to return false, or I don't know how to test> for it. Help appreciated. The following never echos STARTING!!!>
ob_end_flush();> if(ob_get_contents(­) === FALSE) {> echo "STARTING!!!";> ob_start();> }>
also tried: if(ob_get_contents(­) == FALSE)> and: if(!ob_get_contents­())> and: if(ob_get_contents(­) == "")>
But I do get the following notice at the ob_end_flush(); line which tells
that output buffering is not on:>
Notice: ob_end_flush() [ref.outcontrol]: failed to delete buffer default> output handler.>
Thanks!> Shawn>



--
PHP General Mailing List (http://www.php.net­/)
To unsubscribe, visit: http://www.php.net/­unsub.php


Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > PHP web-programming > ob_get_contents returns FALSE? 6 June 2003 17:35:04

see also:
update mysql using radio button
Refresh and retry when using back…
image resize looks horrible..
пройди тесты:
see also:
A CAMERA REVOLUTION!
ICONS: Apple OS X
AntiVir Removal Tool for Windows ...

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .