Re: Transition Page?
| From: | David T-G | Date: | Mon, 27 Jan 2003 13:35:41 +0000 |
| Subject: | Re: Transition Page? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133239@lists.php.net to get a copy of this message | ||
Lee --
..and then Lee Herron said...
%
% >> I'm interested in how most would create a transition page..
% >
% > One thing you might consider is using flush() to output
% > what you have so far to the browser rather than sending
%
% The problem I'm having is that the uploading of the file takes time, and the
Ah; you're waiting for the browser to send rather than for the server to
send.
I'm no expert, but I don't think there's a way to do this directly.
Ideas that occur to me:
- It wouldn't work for everyone since some (such as I :-) have javascript
turned off, but you could first change the page on the click and then
actually submit the form and start the upload.
- You might send the just file name to upload back, get a new page
containing the "please wait", and let that page request the file by
name. This doesn't sound great; if you can do that, what's to keep you
from getting any file you want from a surfer's computer? Maybe you
can, but I'd be moderately surprised, which means I'd be moderately
surprised if this approach works -- but it's worth evaluating.
HTH & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!