Forums

how to login wordpress from outside? (1 post)

  1. jdleung
    Member
    Posted 2 years ago #

    I have a site before(pligg), now I install wordpress in a subdir, and now I want wordpress use the same user data. So I tried to write a module for it.

    here is the way:
    1.user register on original site -> also write into wordpress's database.

    2.user login on original site -> check username and password in wordpress' database, if there is none, create one.

    3.if username is in wordpress' database, login wordpress.

    I think the 3rd step is important, it need to write something into cookie. I had tried for a long time, but still fail.

    and it seems I cannot make the funtions work though I had include their files.

    any instruction help for this?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags