User Tag List

Results 1 to 4 of 4

Thread: Doe the GET extension work in the PC runtime of an iOS project?

  1. #1
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Apr 2009
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Doe the GET extension work in the PC runtime of an iOS project?

    I'm doing some basic GET extension work in MMF2 at the moment, retrieving information from a database. The build type is set as "iOS final Xcode project" and I've just done some basic PHP just to echo something back. The thing is, I can't seem to get any received content back from the PHP call. I've set my program to change a counter when content is received and even that won't happen, when my PHP script is simply echoing back a value.

    I've made sure the url is right, as is the post data and the content being sent through, but nothing gets returned, even after an echo is made from the PHP script.

    Does the extension work in the PC runtime for this Build Type?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleXNA Export Module
    DistantJ's Avatar
    Join Date
    Jan 2008
    Location
    Gloucester, UK
    Posts
    2,144
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    When I test mine on PC it seems to work, like I can retrieve the info and display it in a string or whatever... Do you want me to take a look at your PHP script? I'm a professional web developer...

  3. #3
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Apr 2009
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah. Sorry. I've just realized I've made an extremely stupid mistake.

    The PHP was fine. I just forgot to put the "http://" before my web url in the Get URL event. That was a very silly error on my part. It's working all well now.

  4. #4
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Apr 2009
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    However, now I can't seem to get anything returning correctly. I'm sending off post data for usernames and checking them in a database.

    The thing is, what would normally be returned for the name "Syntax" would be 1, since it has 1 database entry. For some reason, when I do the Content Received event in MMF2, the value returned will always be 0, even when I send through a fixed URL with fixed post data.

    It will even return 0 when I make the PHP echo the number 1.

Similar Threads

  1. EDIF extension doesn't work when "compress runtime" is disabled.
    By Nifflas in forum Extension Development
    Replies: 3
    Last Post: 27th February 2012, 11:14 AM
  2. runtime - Run whilst minimised?? Doesnt work?
    By Gibbon in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 8th December 2007, 10:40 AM
  3. What it happened with project of extension FISI ?
    By Gmartns in forum Extension Development
    Replies: 3
    Last Post: 10th April 2007, 11:22 PM
  4. Layer does not work in Runtime?
    By Herbert in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 4th July 2006, 05:12 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
  •