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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -