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

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

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

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

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

    Edited once, last by Apex (May 20, 2012 at 3:04 PM).

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

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!