From:             
Operating system: Linux - Windows
PHP version:      5.2.13
Package:          *Web Server problem
Bug Type:         Feature/Change Request
Bug description:send php scripts finished message

Description:
------------
Hello,

I have a long running PHP script - with Web-Browser Interface and MySQL
access.



The user starts a migration of data in MySQL - it can take a lot of time.
The script generates for each step it takes output and sends it to the web
browser.



I used output buffering.



On few PC the anti-virus software helds the output back and the user do not
gets any message. For long running task it may be difficult for the user to
decide if the script hangs or it is still active.



So I wanted send a PHP script finished message - so that the output is
released from the anti virus software and shown in the browser.



sending a HTTP header() 200 status code is not possible - I am getting a
warning: 'header already sent - output started at....'

Test script:
---------------
wordpress plugin - joomla to wordpress migrator:



http://wordpress.org/extend/plugins/joomla-to-wordpress-migrator/

Expected result:
----------------
a function which sends PHP script status code from the server to the
browser.


-- 
Edit bug report at http://bugs.php.net/bug.php?id=52190&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=52190&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=52190&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=52190&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=52190&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52190&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=52190&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=52190&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=52190&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=52190&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=52190&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=52190&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=52190&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=52190&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=52190&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=52190&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=52190&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=52190&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=52190&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=52190&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=52190&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=52190&r=mysqlcfg

Reply via email to