html - PHP confirmation email not working because of "\" in link -
when sending confirmation email confirmation code looks http://mydomain.com\/confirmreg.php?code=3f76ab3a202e73fb0526cd2091c5b7ce
(randomly generated) how remove "\" before /confirmreg.php
heres of code link
$confirm_url = $this->getabsoluteurlfolder().'confirmreg.php?code='.$confirmcode;
$domain = rtrim($this->getabsoluteurlfolder(), "\\/"); $confirm_url = $domain .'/confirmreg.php?code='.$confirmcode;
Comments
Post a Comment