View Full Version : Using PHP to log into an iframe in background?

01-29-2010, 07:54 AM
Hi, I'd like to know if this is possible:

I have a page on my self hosted wordpress site that has an iframe for a login page to WebAsyst, a file sharing/collab suite that is self hosted on the same server (its PHP based). I don't want the user to have to log into the site twice (they already log in to get into the wordpress site as it is private).

To solve this problem, for all registered users (this is for a population of 150 users), I will create identical usernames in WebAsyst for them. Each WebAsyst account will have the same password. So, for each user, there will be:

Wordpress User Name
Wordpress Password
Web Asyst User Name (same as Wordpress User Name)
Web Asyst Password (all web asyst passwords will be the same)

Now this is where I am stuck. Can I pull the WP username from the loop, combine it with the password (remembering the password is the same for all users), and put this into a POST/GET type of PHP code?

If this is possible, please let me know. If you can do this yourself, I'd rather pay you for it than try to figure it out so let me know. Thanks so much in advance!