marius123 Posted February 9, 2009 Share Posted February 9, 2009 Hey lets say I have a table in my database with username and passwords for another site. For instance to a MMORPG. Now i want users to login to my site and be able to be assigned one of these accounts and be logged into it. But I don't want them to be able to view the username or password as if I then fall out with the user they could use my accounts. Because its a pain in the ass changing logins when I fall out with someone or they move onto another guild in the game. The site uses POST data to login I have tried using cURL but i don't know how to actually login via it. Thanks for any help! Link to comment https://forums.phpfreaks.com/topic/144525-logging-into-a-website/ Share on other sites More sharing options...
printf Posted February 9, 2009 Share Posted February 9, 2009 You cannot do that unless you plan on acting as a proxy, where every page they request must be fetched and served by your server. That's the only way you can do it without giving out your personal login information... Link to comment https://forums.phpfreaks.com/topic/144525-logging-into-a-website/#findComment-758410 Share on other sites More sharing options...
marius123 Posted February 9, 2009 Author Share Posted February 9, 2009 If i ahd a url that logs into the game.. is there a way in which I could load it in an iframe etc without them seeing the url. The url is javascript code.. it starts off javascript: and once that link is loaded it loads another page. So could i stop them seeing the JavaScript link whilst the page loads? Link to comment https://forums.phpfreaks.com/topic/144525-logging-into-a-website/#findComment-758420 Share on other sites More sharing options...
npsari Posted February 10, 2009 Share Posted February 10, 2009 I use I-frames to solve many problems that i face It is a good way to get around AJAX!!! I am sure you can do the same Anyway, I think if you are using session_start(), then, it will not work But you can try Link to comment https://forums.phpfreaks.com/topic/144525-logging-into-a-website/#findComment-758571 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.