Reply to Re: How can i send 'eof' to the client?

Your name:

Reply:


Posted by Bent Stigsen on 06/03/06 14:02

S. C. Jeong wrote:
> I want to send 'eof' kind of message after some processes. Die or exit
> cannot be used because there are some more processes to complete, but
> nothing major to users.
>
> <?php
> phpinfo ();
> //i want to finish the process here!!
> //flush () //? doesnt work?
> sleep (10); // mimic of (not)complicated process
> ?

There might be many reasons why it doesn't work, as mentioned in the
manual along with hints of what to do.
http://php.net/manual/en/function.flush.php

Depending on how it is supposed to work, you might want to use
"ignore_user_abort", in case the user decides to go somewhere else
before your subsequent process finishes.


/Bent

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация