I've seen a couple of posts similar to what I'm looking for but frankly I'm on a time crunch here and need to figure this out ASAP. I have a PHP script that I'm using to send my form data to email and I need to add a piece to that script that redirects to a specific "thank you" page depending on what page a user submits a form from.
So in plain english, the PHP script needs to say "If user is currently on www.mysite.com/page1.php redirect them to www.mysite.com/thankyou_page1.php. If user is on www.mysite.com/page2.php redirect them to www.mysite.com/thankyou_page2.php. If user is on www.mysite.com/page3.php redirect them to www.mysite.com/thankyou_page3.php...."
Please let me know how I would do this. Thank you in advance!!