I have a sign up page on my site. After entering your info, the site sends out an email to verify the user. From that email link:
I wonder how I can target the previously opened window to my site? (Which would currently say: Thank You for signing up, please check your email for a validation token)
Placed in the body tag of the site is:
<body onload="window.name='thesite';">
Have tried to send an <a>
tag with a target="thesite" from the email using PHP's mail() function with Content-type: text/html, but the target won't take.
<body><html>
<a href="http://www.demo.com/index.php?token=123456789" target="thesite">Verify</a>
</body></html>
Seems like it would, but it just opens a new window.