I have an upload script that uploads images to a server. I need a script to run in the background after the image is uploaded and moved by move_uploaded_file()
, but I need to send a filename and path to that file to the script (pretty much send some data).
How can I run a PHP script in the background after some data has been sent to it?
Notes: The files are uploaded via XMLHttpRequest.