Page 1 of 1

do sth while script is running

Posted: Wed Apr 30, 2003 4:43 am
by krieger
hi all,
is it possible to make the script do sth while i'm executing eg. a "ftp upload" function? i'd like to open a new window which says "file upload in progress" as long as the upload goes.

i've tried everything in javascript, but it didn't work, because the ftp_put part is interpreted on the server, but the javascript part is interpreted on the client-side...

does someone knows a solution?
thanks,
sam

Posted: Wed Apr 30, 2003 2:46 pm
by McGruff
Could possibly just echo 'file uploading' before the ftp code then, when it's done, echo a link like 'upload complete click to continue' - or header() to the next page.