I have a Flash game that allows you to drag MC’s around and save their locations via URL query string. This works great except the string is 2 miles long…
The idea of the game is to “send to a friend” what you created. So I wrote up a simple PHP mailer. I can easily dump the giant URL into the mailer, but it’s UGLY…
SO…
I went to be able to put the URL query string into a link that hides it’s length.
I have had some experience with html in php mailers, but they were always seperate. ie
<body>
<?php>
code
?>
html stufff
<?php>
code
?>
</body>
What I’m trying to achieve is something to this effect:
$message = $_POST["longUrl"];
echo("Check out this Holiday Card I made for you: " . <a href=". $message . ">mydomain.com</a> ". ");