Hide a link
How can I make this in php?
I have this link
And I like to have this:
Thank you for your help
Probably best to consider URL rewriting (i.e. Apache's mod_rewrite module). If your web server is Apache then you need to make sure mod_rewrite module is enabled and then either add to global config or a local .htaccess file the proper commands to rewrite a URL. This requires basic knowledge of how Apache works.
The concept is you show the user the "hidden" link, which is an actual link you set in the anchor href as normal. When they click on it, your Apache will rewrite it to the real link.
Complete details on the above is here, with examples (novice tutorial).
Let me think about it some more, wait for others to reply with additional ideas.
Last edited by SrWebDeveloper; 02-17-2010 at 08:03 PM.
Reason: fixed broken link
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)