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

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -