faqts : Computers : Programming : Languages : PHP : Database Backed Sites : MySQL

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

2 of 6 people (33%) answered Yes
Recently 1 of 2 people (50%) answered Yes

Entry

How do I create a link from mysql, but hide the actual directory and page name to prevent bookmarking? The link needs to be different each time.

May 23rd, 2000 13:14
Matt Gregory, Eric Lee,


This is not possible.
In order to perform a GET request the browser must have access to the 
name of the page.  The link then, if the page and directory were 
invisible, would not work.
You can do this by returning a parameter for a PHP script or a CGI 
application, but the problem is that the user CAN bookmark the 
parameter.
This might work for your situation if the link the user bookmarks goes 
to a script, since each time they hit the link they will go to whatever 
page the script wishes to send them.