Re: Multithreading in PHP
| From: | Sudheer Satyanarayana | Date: | Tue, 17 Mar 2009 14:07:39 +0000 |
| Subject: | Re: Multithreading in PHP | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290177@lists.php.net to get a copy of this message | ||
Manoj Singh wrote:
Hi Sudheer, Can you please put more focus or sample code for the second option which you have suggested "Send the email after you flush the output.". <?php//Code to send some output to user ... ... ... echo "Email will be sent to you shortly"; //Time to send email //Send all other output before this line ob_flush(); flush(); //Code to send email //echo "Email sent"; -- With warm regards, Sudheer. S Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, Personal: http://sudheer.net