• I have a PHP Web App in which I want to use some User Details from WordPress installed inside a Folder.
    Suppose My App will be inside ===>>> http://www.example.com
    and my WordPress install will be inside ===>>> http://www.example.com/membership.
    Basically I will check if User is Logged-In in WordPress and use some values
    from WordPress Database to restrict Few Settings in my Web App.
    I anyways need WordPress for Blogging purpose so thinking of using its User
    Registration and Log-In module as well. Possible ?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    It’s possible, but carefully consider if you really need WordPress for your App. Initializing the WP environment is resource intensive. If all you need is a bit of data from the DB, you’d be better off going directly to the DB with the mysqli class instead of starting up WP.

    OTOH, WP is handy for managing users. A lot of security issues have been ironed out through hard earned experience. It could very well be worth the performance trade off.

Viewing 1 replies (of 1 total)

The topic ‘Using WordPress User Details outside Directory’ is closed to new replies.