Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
descriminate referer script
Old 02-13-2005, 07:55 PM descriminate referer script
Extreme Talker

Posts: 218
Location: Australia
Trades: 0
anyone know where i can get a script, in php or something where:

i can have it so a certain page can only be accessed from another page and not by typing the address into the address bar or from any other link.

for example.
in order for a user to access the page, www.mywebsite.com/travel.html
you have to have been refered (in this case auto redirect) from the page www.mysite.com/links.html
so that, simply typing the address of the travel.html page into the address bar will not work.

i hope this sounds clear and hope something like this exists.
cheers.
A.G.
177594 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-13-2005, 09:08 PM
Rufo's Avatar
Extreme Talker

Posts: 173
Trades: 0
This can be done using mod_rewrite or the HTTP_REFERER environmental variable (accessible using perl or PHP).

However, some UAs do not send referrer information, or give the user the option of altering it, so it should not be seen as 100% accurate.

Rufo.
__________________

Please login or register to view this content. Registration is FREE
Rufo is offline
Reply With Quote
View Public Profile Visit Rufo's homepage!
 
Reply     « Reply to descriminate referer script
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09523 seconds with 12 queries