I am uploading file on one file hosting site using cURL, but I want to do that process in background, I mean browser should not be wait untill its uploaded or give reply so how can I do in php? I tried to do using wget -b command to do upload process in background but its not uploading all times, Is there any other solution for it?
you can use a cron job from cpanel of hosting For running jobs in background automatically Regards Alex
Use this command exec("/usr/bin/php /home/public_html/yourfolder/yourfile.php >/dev/null &"); Change the php path & your script file path as you have....