Forum Moderators: coopster
I have a small "send to" link so that users can send an email to a friend with the URL of the page. It use javascript and will open a small popup window. Only one variable is sent, called "link" in the example below.
e.g. javascript: openit("http://www.example.com/send_to.php?link=/www.example.com/this_page.php?var=first_var&var2=second_var")
No, the problem occur when retrieving the "link" variable, only the first variable is shown.
e.g. $_GET["link"] become /www.example.com/this_page.php?var=first_var
and "&var2=second_var" is removed from the link.
I guess I should change all the & in the link variable but I am sure there is a better alternative.
Thanks