Passing full outside URL through PHP

3 posts by 2 authors in: Forums > CMS Builder
Last Post: June 9, 2014   (RSS)

By nmsinc - June 9, 2014

Trying to pass the URL a URL located outside our main website with no luck. - Instead of passing http://www.someother_website.com it passes http://www.mywebsite.com/http:www.someother_website.com

Current code as follows:

<ahref="<?php echo $CURRENT_USER['calendar_url']?>"onclick="NewWindow(this.href,'mywin','1100','750','yes','center');return false"onfocus="this.blur()">

Any ideas?

Thanks - nmsinc

nmsinc

By nmsinc - June 9, 2014

Thanks Claire - got it working!

nmsinc