Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page Clears

Status
Not open for further replies.

oconv

Programmer
Jan 17, 2002
25
ZA

Hi

Is there a command to clear a html page ?

like :

some html . . . .
<?
command that clears the page
?>

thanks
 
??????

just show a blank html page.

This is web, not standalone application.

But, what do you want to do ? Anikin
Hugo Alexandre Dias
Web-Programmer
anikin_jedi@hotmail.com
 
Ok

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

hope that is a bit more clear

thanks ;-)
 
so ...

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top