User Tag List

Results 1 to 4 of 4

Thread: MooSock and sending data via PHP

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    MooSock and sending data via PHP

    Ok, I bit the bullet and created a PHP interface on my server following the Online High Score tutorial.

    The interface works via the browser, meaning I can pass the data via the browser's address bar and it is stored in my database.

    Where it doesn't work, is using MooSock to pass the data. Apparently, MooSock requires a Connection to exist before passing the data.

    The connection simply doesn't work and I'm not sure why. Any thoughts??

    Thank you!

  2. #2
    Forum Moderator Fusion 2.5 DeveloperHTML5 Export ModuleiOS Export ModuleSWF Export Module
    DavidN's Avatar
    Join Date
    Jun 2006
    Location
    Boston, MA, USA
    Posts
    4,044
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MooSock and sending data via PHP

    After writing the tutorial, I quickly discovered that some servers didn't get on with the way that I'd written the MooSock bit (even Byethost, the one I used to demonstrate, didn't work with it for a while). Can you describe what you get back when you attempt to connect, if anything? (Remember that the http:// should be left out, if that helps at all).

    You could also try replacing the MooSock object with the Live Receiver and see if you have more success that way (it's much simpler to use, requiring just an address and a GET/POST string).

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: MooSock and sending data via PHP

    David, thanks!

    I'm getting an error 500 when I try to connect. The server name doesn't include folders or any http prefixes.

    I will indeed try the Live Receiver, since I know the php works well via the address line in the browser.

    Thanks for the tutorial!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Tuna's Avatar
    Join Date
    Feb 2008
    Location
    Central Texas
    Posts
    1,853
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Re: MooSock and sending data via PHP

    LIVE RECEIVER WORKS JUST FINE! THANK YOU VERY MUCH!

Similar Threads

  1. sending binary data
    By Looki in forum Lacewing
    Replies: 1
    Last Post: 3rd October 2008, 11:08 PM
  2. Sending empty byte with MooSock
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th July 2008, 11:39 PM
  3. Sending chr(0) with MooSock
    By Mikko in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th June 2007, 05:37 PM
  4. Any example or help with sending mail with MooSock
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 12th November 2006, 02:33 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
  •