PHP Redirect after execution of code
- by UmYeah
I have a php page that takes in a bunch of url parameters and sends out an email. I am trying to have this page call another web page using the same url parameters, after the mail is sent. If I do the following, will my email be sent reliably? Is a redirect what I really want to do?
Random code to send email...
header('Location: http://www.othersite.com/' + $_SERVER["REQUEST_URI"]);