Author Topic: How do I login as a user from a php file on the same server?  (Read 391 times)

Offline gronk

  • Newbie
  • *
  • Posts: 1
I was trying to send login cookies from an external login_me.php file (without knowing password)? How do I actually do this? Is there an API for this?
What file do I have to include in my php file to be able to authenticate an user?
Thanks

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,517
    • http://SKaero.com/
Re: How do I login as a user from a php file on the same server?
« Reply #1 on: May 28, 2019, 11:40:15 AM »
If you don't know the user password you wont be able to login.