Re: Displaying a please wait while doing a file upload?
| From: | Jeff Sheltren | Date: | Sun, 03 Feb 2002 21:24:29 +0000 |
| Subject: | Re: Displaying a please wait while doing a file upload? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83333@lists.php.net to get a copy of this message | ||
Well, although this won't wait until exactly when the image creation is done, you could use a meta refresh tag to refresh to your new page after a certain number of seconds...
Create a php page with whatever code you need, and then have something like this:
<html>
<head>
<meta http-equiv= "refresh" content="5;URL='targetpage.php'">
<title>Please Wait</title>
</head>
<body>
Please wait...
</body>
</html>
This example would wait 5 seconds before loading targetpage.php.
Jeff
At 10:00 PM 2/3/2002 +0100, Andy wrote:
Hi guys, I would like to display something like: "please wait, uploading" while I am doing a image creation which takes a while. After the work is done, it should redirect to another page displaying something like upload ok. As far as I know the HEADER location satement is only valid if there is no output in front. So I can't just echo the sentence. Does anybody know the trick? Thanx for your help. Cheers Andy