Running a PHP function in the background

yglenenglishz

New Member
I have a small redirection script that does 2 things,First, it executes an email (using the mail() func) and only then redirects the person to the new link.Problem is, for some reason, the mail func on my server works really really slow and I don't want it to affect any of my visitors,How can I still run the mail function but do it in a way that will not affect the visitor from redirecting to the new link instantly?Thanks,
 
Back
Top