I am trying to make a page have a unique link so people can send it to friends.
What I am trying to do is something like:
Your Name:
Your Friends Name:
Submit
After that, the next page will display that information and output a unique link where that friend can send the link to other people with the information saved (a unique link [I have
$stamp = strtotime ("now");
$unique = "$stamp$REMOTE_ADDR";
$unique = str_replace(".", "", "$unique");
echo($unique);
for a unique code]). I am trying to do this without using any type of database or flat file, so would sessions be the way to go?
If so, any ideas as to how to get started?
Thanks.