javascript - Download external file in background PHP? -


i have 3 weeks looking this:

i have page have download file after verifying data given user. validation , execute external script gives me url. , use url download file i'm gonna execute later.

i'd tried download file curl, wget, file_put_content, javascript, ajax , jquery no luck, file 150mb+ created nice progress bar tell user how download going , have method read downloaded size.

i fact i'm able download file curl, problem "do_form.php" won't load until file downloaded, want load page first, download file - in background -, can show user progress of download.

please tell me possible... thanks!!

have @ gearman. maybe gearman background job fits needs. job can run on same machine web server. of course response page has disadvantage contains no success information. need poll information using ajax again.

if decide so, should have @ gearmanmanager eases things lot.


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -