verN Posted March 16, 2007 Share Posted March 16, 2007 I am trying to create a email a friend script and I have encurtered a problem. The url link does not work in the <a href tag howver when i echo the variable it works the following is the code <h2>Email this page to a friend</h2> <form id="form1" name="form1" method="post" action=""> Complete the details below to send a link to the page:<br> <? $refurl = $_SERVER['HTTP_REFERER']; ?> <? print $refurl;?> <a href="$refurl"><? print $refurl;?></a> thanks in advance the link comes up but when it is clicked on it doesn't know where to go Link to comment https://forums.phpfreaks.com/topic/43037-solved-url-problem/ Share on other sites More sharing options...
shaunrigby Posted March 16, 2007 Share Posted March 16, 2007 Where is it not working? on the page? or in the email? Link to comment https://forums.phpfreaks.com/topic/43037-solved-url-problem/#findComment-209036 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.