I am trying to set up an email a friend page where the user clicks a button and goes to a form to send the page he was on. In the email I want to reference the URL the user had been on.
I tried doing the following:
On the form to get the page FROM:
<input type="hidden" name="referer" value="<? $HTTP_SERVER_VARS['HTTP_REFERER'] ?> ">
On the form handler:
referencing {referer} in the email
This doesn't seem to work. Any suggestions?
Thanks.