WordPress integration with flex app (1 post)

  1. Anonymous
    Posted 8 years ago #

    I've got a flex app that I need to integrate with wordpress.
    The backend used is PHP. Right now I'm just checking the username and the hash of the password against the database and it's working fine, but I want to see if the user is already logged in wordpress and if not log him in(using wordpress' functions).

    I see that when i do

    	echo "yes";
    } else {
    	echo "no";

    I can see if he's logged in, but how do I log the user in? And do i really need to include wordpress as a whole and not just (a) file(s) that has the functions I need?
    I also need the userid when he's logged in, is there a function for this?

Topic Closed

This topic has been closed to new replies.

About this Topic