RE: [PHP] Re: progress in php (was "Re: [PHP] Working pop-up progress window")
David, A window will popup with the progress meter. Obviously don't block popups and try using a larger file if you have a high speed line, it takes a second for the meter to start and if the upload is done it won't popup properly. Steve -Original Message- From: David T-G [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 2:20 PM To: PHP General list Cc: Steve Murphy Subject: [PHP] Re: progress in php (was "Re: [PHP] Working pop-up progress window") Steve, et al -- ...and then Steve Murphy said... % % Every time I see someone ask about an upload meter a hardcore programmer writes back saying no one ever asks for it so why should anyone work on one? I have a demo up of what you might be looking for, check it out here: Heh :-) I always ask "what's wrong with progress bar in your browser?" % % http://www.pfohlsolutions.com/projects/upload/ That didn't keep me from trying this, though; it would be interesting. Unfortunately I tried the demo and uploaded a 466k zip file and got nothing until I then got the "File Upload Complete" result page. Um, what is it supposed to do? TIA & HAND & Happy Holidays :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
[PHP] Re: progress in php (was "Re: [PHP] Working pop-up progress window")
Steve, et al -- ...and then Steve Murphy said... % % Every time I see someone ask about an upload meter a hardcore programmer writes back saying no one ever asks for it so why should anyone work on one? I have a demo up of what you might be looking for, check it out here: Heh :-) I always ask "what's wrong with progress bar in your browser?" % % http://www.pfohlsolutions.com/projects/upload/ That didn't keep me from trying this, though; it would be interesting. Unfortunately I tried the demo and uploaded a 466k zip file and got nothing until I then got the "File Upload Complete" result page. Um, what is it supposed to do? TIA & HAND & Happy Holidays :-D -- David T-G * There is too much animal courage in (play) [EMAIL PROTECTED] * society and not sufficient moral courage. (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and Health" http://justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg! pgp0.pgp Description: PGP signature
Re: [PHP] Working pop-up progress window
Ed Curtis wrote: If I understand you correctly, when you call window.close on the next page you want it to close the child window. I am not sure if this is possible with Javascript if you go to a new page, it might be. You would want to not call window.close but something like myPopUp.close() on the next page. Someone else might be able to shed so more light on it. Keep in mind that more and more users are blocking all pop ups. That's correct. I didn't make that clear enough in my first post. When I call the popup I give it a name (i.e. MyWindow) and when I try to close it I call MyWindow.close() and it still will not close. Ed There might be a proper way, but this should work: MyWindow = window.open('', 'MyWindow'); MyWindow.close(); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Working pop-up progress window
> If I understand you correctly, when you call window.close on the next > page you want it to close the child window. I am not sure if this is > possible > with Javascript if you go to a new page, it might be. You would want > to not call window.close but something like myPopUp.close() on the next > page. > > Someone else might be able to shed so more light on it. Keep in mind > that more and more users are blocking all pop ups. That's correct. I didn't make that clear enough in my first post. When I call the popup I give it a name (i.e. MyWindow) and when I try to close it I call MyWindow.close() and it still will not close. Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Working pop-up progress window
[snip] I've had the most luck using the pop-up window method. In the element I call onSubmit="{open some window here}" This works as the pop-up appears while the file is transferring. Here's where I run into problems. I've tried all kinds of examples found on google and can never get it to work right. In the script where my form goes to, I'm supposed to use a on the page containing the form. Either my pop-up stays open or I close the parent window. [/snip] If I understand you correctly, when you call window.close on the next page you want it to close the child window. I am not sure if this is possible with Javascript if you go to a new page, it might be. You would want to not call window.close but something like myPopUp.close() on the next page. Someone else might be able to shed so more light on it. Keep in mind that more and more users are blocking all pop ups. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Working pop-up progress window
Hi Ed, Every time I see someone ask about an upload meter a hardcore programmer writes back saying no one ever asks for it so why should anyone work on one? I have a demo up of what you might be looking for, check it out here: http://www.pfohlsolutions.com/projects/upload/ You will need to recompile PHP but its a very convenient tool that many of my clients ask for, enjoy. Steve -Original Message- From: Ed Curtis [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: [PHP] Working pop-up progress window I've read through the archives and run through some of the suggestions given for progress bars and pop ups with animated gifs and haven't had much luck. I've had the most luck using the pop-up window method. In the element I call onSubmit="{open some window here}" This works as the pop-up appears while the file is transferring. Here's where I run into problems. I've tried all kinds of examples found on google and can never get it to work right. In the script where my form goes to, I'm supposed to use a on the page containing the form. Either my pop-up stays open or I close the parent window. Does anybody have a working example I could work off of so I could please my boss. Personally, I didn't want to do this but he thinks we should have these flashy things on out site. Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php