Hi
I am using a mail() command to send an e-mail which contains a link to a PHP page with a ?variable. I am using an HTML header so that the email contains an <A> link which takes the user to the relevant page. The code looks like this:
[CODE]
$headers = “MIME-Version: 1.0rnContent-type: text/html;
charset=iso-8859-1rnFrom:”.$emailfrom.”rn”;
$mailmessage = $namefrom;
$mailmessage .= ‘ has sent you a picture! To see the
picture they have drawn for you please click on this link <a
href=”http://www.netcartoon.net/draw/drawer.php?
drawnum=’.$drawnum.'”>Your Pic</a>’;
$subject= $namefrom.” has sent you a picture”;
mail($emailto, $subject, $mailmessage, $headers);
The problem is, the variable shows up in the browser when the user clicks the link, like this
[url]http://www.website.com/page.php?variable=123
Since this is for messages people can send each other, that’s not very cool, because someone could easily adjust the variable and read other people’s messages.
Is there a way I can hide the variable which is passed in when the user clicks on the link? What would I need to change in my code?
Thanks.