• I have had two posts closed for no reason, so I will try again!

    how might I go about grabbing the current user and password from someone who visits my site and clicks a link?

    I want to integrate this with the API of a music streamer I have, so it would work like this:
    user clicks “listen now”
    they are sent to
    index.php?user=theiruser&pass=theirpass
    which then logs them in to the streamer so they can listen

    I do not know how the wordpress user system works, is this possible, and if so, how may I implement it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter timelf123

    (@timelf123)

    Maybe isntead of a dynamic link, a simple form could be used to pass the users info to that link? that may be easier, but I do not know how to do it…

    Thread Starter timelf123

    (@timelf123)

    hmm should i use php get
    with a form?

    Thread Starter timelf123

    (@timelf123)

    Got it!

    <form action="http://www.yoursitehere.com/myscript/index.php" method="get">
    Username: <input type="text" name="user" />
    Password: <input type="text" name="pass" />
    <input type="submit" />

    that form sends the correct input to the script in the form of index.php?user=theiruser&pass=theirpass

    I still want to figure out how to do it dynamically…

    Should I use cookies or session or what?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Send user plugin’ is closed to new replies.