I have a php script that generates a html page with a form & sumit button (test.php) , now when I click on the subit button it submits a value via post method again to test.php
Now php gets the value & put it in a file.
A background process then checks in the file gets the value & starts generating a output & the php sits in a loop until & checs the result file until there is someting & then display the contents of the file (witch is a html file b.t.w)
It takes a while +- 30 sec for the result to be generated so what I want to do is to display a blank screen from the time the user clicked the submit button until the result is being displayed.
I have tried to send the http header , but it doesn't work
what I want to know is there someting I can echo/run/execute/shell/whatever the moment the test.php script is run when it gets the posted value
the action script doesn't writes nothing to the output until it has to ... you get your blank page this easy ...
or else
your action script doesn't output anything, it tries to read the file or whatever, until you have the result processed. After this, just header to a new location. Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.