PHP flush stopped flushing in IIS7.5

前端 未结 7 1404
庸人自扰
庸人自扰 2020-12-06 07:06

We have been using php flush to \"blank\" a page immediately as soon as it is clicked, and also to send the navigation and main components of the page so that a page appears

7条回答
  •  遥遥无期
    2020-12-06 07:47

    Here's another way of doing this with web.config (@Jules's method didn't work for me with IIS 8.0). Of course, you would want to replace the PHP versions and paths with the ones actually on your machine.

    This allows the usage of server-sent events!

    
        
            
                
                
                
                
                
                
            
        
     
    

提交回复
热议问题