Forum Moderators: open
What I want is for someone to send the URL to a friend, and have in the mid section "To whoever," when the reciever opens it. This is to be done through the use of a cookie placed in the URL.
I know that, what I don't know is how to do it.
I'm pretty sure I saw a tutorial on how to do it, but I can't find it anymore.
Could someone please direct me to one?
OR and I HATE asking this:
Tell me the syntax
Thanks a heap. :)
[edited by: DrDoc at 12:13 am (utc) on Dec. 28, 2004]
[edit reason] No URLs, thanks. See TOS [WebmasterWorld.com] [/edit]
There is no such thing as a cookie in a URL. A cookie is a piece of information that gets sent by a server in an HTTP header. The client stores it as a file (IE) or puts it into a larger cookie-file (other browsers). If it's a temporary cookie it won't be stored at all.
What you might try is to create URLs like this:
domain.tld/card.php?name=Jack%20Jones
and then let a server side script parse the URL and display the name.