RE: Processing Page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check out http://www.php.net/manual/en/function.ob-flush.php
the ob_flush command.
You could put an animated gif like an hourglass with a please wait at the
beginning of your html output, perform an ob_flush command to put that info
out to the browser, then perform your sql.
After the sql finishes, output more information, or redirect to another page
that says it's done.

CAVEAT:
Some versions of Microsoft Internet Explorer will only start to display the
page after they have received 256 bytes of output, so you may need to send
extra whitespace before flushing to get those browsers to display the page. 


Gary Every
Sr. UNIX Administrator
Ingram Entertainment
(615) 287-4876
"Pay It Forward"
mailto:gary.every@ingramentertainment.com
http://accessingram.com


-----Original Message-----
From: Aspire Something [mailto:aspire420@hotpop.com]
Sent: Thursday, February 27, 2003 1:49 PM
To: php-db@lists.php.net
Subject:  Processing Page


Hi all,

Permit me to recive your valuable knowledge ,

We are working on a project where the backend churns data for about 1 Minute
(time out limit is  2 min) we would like 
to put a page like
 PROCESSING .... 
during the database is busy doing its fine job. And also a sucess page
appears when the 
process is sucessfull.

Please if you have any idea how it can be done please let me 
Humble thanks in advance.
We are not using persist connection to postgresql
======= My Sys Looks as ==========
Red Hat 7.2 Kernel  2.4.7-10,
PHP 4.3.0,
GCC 3.02,
Apache 1.3.27 ,
Postgresql 7.3.2,
Intel arch i686    .
================================


Regards,
Aspire

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux