2013-05-19 6 views
0

로 인해 "\"로 작동하지 http://mydomain.com\/confirmreg.php?code=3f76ab3a202e73fb0526cd2091c5b7ce (임의로 생성) 나는 /confirmreg.php 전에PHP 확인 이메일 링크

을 heres을 "\"를 제거 어떻게 당신은 stripslashes($confirm_url)을 사용할 수있는 링크

$confirm_url = $this->GetAbsoluteURLFolder().'confirmreg.php?code='.$confirmcode; 
+0

마법 인용 부호를 사용하지 않습니다. – SLaks

+1

'$ this'는 무엇입니까? "Absolute URL Folder"를 생성하는 코드를 제공해야합니다. –

답변

1
$domain = rtrim($this->GetAbsoluteURLFolder(), "\\/"); 
$confirm_url = $domain .'/confirmreg.php?code='.$confirmcode; 
1

에 대한 코드의 일부는 백 슬래시를 제거하는,하지만 난 문제가 거기에있을 수 있도록하는 방법 GetAbsoluteURLFolder() 작동하는, 또는 함께 할 수있는 뭔가하지 않습니다 마술 따옴표.