|
Hi,
I have quite a bit of experience in ASP and have just started on PHP.
I have a script that will take a long time to process, let me call it form2.php
Now i post from form1.php to form2.php.
On form1.php I ask the user to enter his email address and tell him that once the process is complete he will be mailed
Now what i need is that when i post from form1.php to form2.php, the browser should show a message that says processing.. mail will be sent to your address.
In the background the script must do what its supposed to do
In form2.php,I have put the message as plain html on top of the page.Below that i have put the php code. I have used flush(), but it doesnt show the html part till the whole script is finished.
Any idea how to accomplish this??
The keyword tool at digitalpoint runs as a background process, perhaps i can do the same??
Thanks
|