|
-
Sep 15th, 2008, 08:09 AM
#1
Thread Starter
Member
how to open other site login
How can i go to this page
http://m.mig33.com/member2/t.php?cmd...g33&showpart=1
on my own page?? need username and password to go this page. i want to go like this...
here is my user name and password to check the page.
username: vbmanmad
password: vbforum
i have created form like this to go that page.
Code:
<html>
<body>
<center>
<h1>Checking Room Participents</h1>
<form action="http://m.mig33.com/member2/t.php?cmd=joinchat&room=mig33&showpart=1" method="post">
Username: <input type="text" name="username" size="20" value=""><br>
Password: <input type="password" name="password" size="20" value=""><br>
Room Name to view participents: <input type="text" name="roomname" value="mig33" size="20"><br>
<input type="submit" value="view">
</form>
</center>
</body>
</html>
how can i save user name and password and go to that url...??
-
Sep 19th, 2008, 01:56 PM
#2
Re: how to open other site login
If you set the value parts of the <input>'s then have some JavaScript which is run onload which submits the form then it will do what you need if I understand your requirements correctly.
So all you need is to store the username and password you want to use.
Then have a php script which echo's (obviously replacing [username] and [password] appropriately)
Code:
<html>
<body onload="submitform()">
<center>
<form action="http://m.mig33.com/member2/t.php?cmd=joinchat&room=mig33&showpart=1" method="post">
Username: <input type="text" name="username" size="20" value="[username]"><br>
Password: <input type="password" name="password" size="20" value="[password]"><br>
Room Name to view participents: <input type="text" name="roomname" value="mig33" size="20"><br>
<input type="submit" value="view">
</form>
</center>
<SCRIPT language="JavaScript">
function submitform()
{
document.form.submit();
}
</SCRIPT>
</body>
</html>
Then when the php webpage loads the form will be submit and then you'll get logged in.
Hope that helped
Last edited by Satal Keto; Sep 19th, 2008 at 02:00 PM.
If you find a response helpful then remember to Rate it
Personal website Sam Jenkins
-
Oct 31st, 2009, 01:27 AM
#3
Thread Starter
Member
Re: how to open other site login
still doesnt work this, i think this need phpsessid & sid to go (someone told me abt this)! any help?
-
Oct 31st, 2009, 01:45 AM
#4
Re: how to open other site login
 Originally Posted by manmad
still doesnt work this, i think this need phpsessid & sid to go (someone told me abt this)! any help?
Which part of the code doesn't work? The code Samba Neko posted puts the user name and password in the log in form on another website.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
-
Oct 31st, 2009, 11:40 AM
#5
Re: how to open other site login
SambaNeko didn't post in this thread. and the guy that did post just posted a script that auto-submits the same form that the original poster already included.
anyway, I've no idea what you really want. but this is a website that logs you into their system; if you want to be able to log into this website from your website, then copy their login form and see if that works. you could also just place their website login into an iframe on their page. none of this has anything to do with php.
-
Oct 31st, 2009, 07:01 PM
#6
Re: how to open other site login
 Originally Posted by kows
SambaNeko didn't post in this thread. and the guy that did post just posted a script that auto-submits the same form that the original poster already included.
Oops, I got them confused! The original poster doesn't make it very clear what he is aiming to do though. It sounds similar to what I did for a flash project with php but again I am not quite sure.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
https://get.cryptobrowser.site/30/4111672
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|