Im having a little trouble with running a php script in the background.
I have my admin area which has HTTP authentication to access and a mail out script which I want to run in the background. This script will take a long time to execute so I wish it to execute in the background.
My idea is when I access the "send" page, it executes the send script in the background and redirects the user off elsewhere.
However currently attempting to use cURL I cannot cURL into the send script as it returns Authorization required.
Any advice appreciated, thanks.