PHP Redirect after execution of code
Posted
by UmYeah
on Stack Overflow
See other posts from Stack Overflow
or by UmYeah
Published on 2010-03-17T13:15:52Z
Indexed on
2010/03/17
13:21 UTC
Read the original article
Hit count: 135
php
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"]);
© Stack Overflow or respective owner