Results 1 to 6 of 6

Thread: how to open other site login

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2008
    Posts
    57

    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...??

  2. #2
    Fanatic Member Satal Keto's Avatar
    Join Date
    Dec 2005
    Location
    Me.Location
    Posts
    518

    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

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2008
    Posts
    57

    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?

  4. #4
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: how to open other site login

    Quote Originally Posted by manmad View Post
    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

  5. #5
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    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.

  6. #6
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: how to open other site login

    Quote Originally Posted by kows View Post
    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
  •  



Click Here to Expand Forum to Full Width