1.11M Members

Prevent access via entering url in address bar of web page

 
0
 

Hello

I've got a problem whereby I need to block access to my survey, I do not want a situation where a user can access the survey by just entering the URL of the survey, the survey has been integrated with mediawiki.

Thanks in advance
kgizo

 
0
 

Thats what I meant sorry.

 
0
 

It can be easily done .. For example , your web page address is www.example.com/index.php?survey=blahblah you can hash the value of blahblah by using

$survey = "Anything" ; $hashed_survey = md5($survey);

and then continue your document by replacing blahblah with $hashed_survey ..

 
0
 

thanks rajdevsohail

I'll try it out just now

 
0
 

any of an unlimited number of $session variables set in the page you wish to link from, search for in the page you wish to land on

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article