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

Recommended Answers

All 4 Replies

Thats what I meant sorry.

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 ..

thanks rajdevsohail

I'll try it out just now

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.