User Tag List

Results 1 to 10 of 10

Thread: POST to php?

  1. #1
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    POST to php?

    Hello.

    I am looking to login to a website, and recieve the data that you normally would by logging in with a regular web browser.

    Here is the source of the login field of "www.placeiwanttogo.com"

    form method="post" action="/myaccount.php"

    Username:
    <input type="text" name="login_username"

    Password:
    <input type="password" name="login_password" maxlength="16"

    <input type="checkbox" name="remember" value="1"

    <input type="submit" value="Login"



    Using the live reciever object or somthing that will work, how can i recieve the myaccount.php into an edit box object?


    Heres what i have tried using:

    Live reciever object

    Start of frame:
    Start download from "www.placeiwanttogo.com/myaccount.php" with POST string "login_username=username&login_password=passwo rd"

    Edit box object:

    On data recieved: ( "Live receiver" )
    Set text to Received$( "Live receiver" )


    What i get recieved to me is "www.placeiwanttogo.com" with a message stating that i used an invalid username or password, and NOT "www.placeiwanttogo.com/myaccount.php".



    Does anyone know how to use the Live reciever object? Or know how to accomplish what im trying to do?

  2. #2
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    I'll make you an example in the morning... if you haven't already gotten help before that.

  3. #3
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    You need to use "#" instead of "&" with LiveReceiver to separate the values in the post string.

  4. #4
    Clicker Fusion 2.5 Developer

    Join Date
    Nov 2008
    Posts
    299
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    Woah, the creator should change # to & in order to conform to the standard!

    Is there a reason why live receiver uses # instead of &?

  5. #5
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    Ask, Jamie...

    But considering the delimiter is internal it doesn't really matter; You could use the 'Substring replace' object to parse in strings which use "The standard" format.

  6. #6
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    I could use the example. Maybe login to a forum somewhere and recieve the page you would login to.

    Is there a way of storing a cookie too? the "set cookie file" thing is vague...

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    Quote Originally Posted by Fimbul
    Woah, the creator should change # to & in order to conform to the standard!

    Is there a reason why live receiver uses # instead of &?
    That's a very good question...

  8. #8
    No Products Registered

    Join Date
    Jun 2009
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    Yeah, i have no idea at all how to work this. Even using # isnt working, i even tried ## and it still isnt working.

    Starting to get irritating.


  9. #9
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    Live Receiver isn't supported, I don't have the source. I added HTTP GET to OINC, but there's no HTTP POST.

  10. #10
    Clicker Multimedia Fusion 2
    SEELE's Avatar
    Join Date
    Jul 2007
    Location
    Terra australis incognito
    Posts
    1,916
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: POST to php?

    Sounds like your stumped, here is an example.. using moosock

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=151142

Similar Threads

  1. Not sure where to post this
    By MBK in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 4th July 2010, 07:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •