Zubrag.com
February 08, 2012, 02:38:27 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Is it Possible to Send a Hyperlink that automatically enters password & logs-in?  (Read 1572 times)
sundial2k
Newbie
*
Posts: 13


« on: July 14, 2010, 10:13:10 am »

Hi - your script is awesome and I've taken it to a new level with some help of other posts in your forum. 

One thing I cannot find, and need help with, is being able to send someone a link that has the password in it and automatically logs them in (I'm not using a username, just password).

Can that be done?

Thanks,
John

Logged
zubrag
Administrator
Hero Member
*****
Posts: 745


WWW
« Reply #1 on: July 27, 2010, 06:48:45 am »

in password_protect.php, replace all the references to $_POST with $_REQUEST

When done, you should be able to login by submitting username and password via URL. Like this:

http://www.example.com/members/protected-page.php?access_login=login&access_password=password
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC