2

I have a Wordpress installation and some php pages (not related to Wordpress). I want to use the same login between Wordpress and My Php pages. When I login from my php, and go to wordpress, it shouldn't prompt me to login again (and vice versa). Can you please tell me how to do this? Thank you.

2
  • How do you manage the users on your PHP pages?
    – hakre
    Commented Sep 28, 2011 at 12:57
  • Users are only in wordpress database. I want to reuse the wordrpess database for logging into my php pages. Thanks.
    – M99
    Commented Sep 28, 2011 at 13:17

1 Answer 1

2

You can integrate the wordpress authentication with the apache webserver and then configure which additional resources need a login on your webserver. This works with PHP as well with HTML and images.

For more information, please see mod_auth_mysql and phpass.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.