User Tag List

Results 1 to 5 of 5

Thread: Nothing returned from PHP Get URl

  1. #1
    Clicker Multimedia Fusion 2iOS Export Module

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

    Nothing returned from PHP Get URl

    I've been having a lot of troubles with the PHP Get object lately. I've already used the extension successfully, but for some reason on my latest endeavour, it has not been working so well.

    I have the PHP script all up and running, which works fine with a web page doing a similar call to the script using Ajax. And I have the Get URL correct, with the right post data name and information being sent. On the PHP, I just do a simple check to see how many entries there is in one of my databases and then echo the result (1 or 0).

    The problem is that nothing is being returned. There is sign of data being echoed, but nothing can be stored. I use the "Get Complete" event to set a counter to 1 when content is received back, and this works. But when I try and store the received information in a variable, the variable will always remain empty.

    I've tried;

    - Echoing static data (fixed to a numerical value or string).
    - Storing the data received in global values(using val() ) and strings.
    - Setting a counter to the value of the content received using val().
    - Setting Alterable Values of objects to the received content.

    Does any PHP developer know what my problem may be here? The counter changing signifies that content is being recieved, but there never seems to be anything in the content. I'm just using the standard
    echo "1"; at the moment.

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    If you use the GET object on other pages does it let you get the data? EG does google.com give you the HTML to the page or is it also blank?
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Jun 2006
    Posts
    6,773
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Have you tried the URL in a web browser?

  4. #4
    Clicker Multimedia Fusion 2iOS Export Module

    Join Date
    Apr 2009
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by James View Post
    Have you tried the URL in a web browser?
    Yes. It prints the message that I am echoing.

    I don't understand what is meant by trying it on Google. I will try and use a different script to see if the echoed content is received back from that.

  5. #5
    Clickteam Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,735
    Mentioned
    65 Post(s)
    Tagged
    3 Thread(s)
    Are you building in Flash by any chance?

Similar Threads

  1. App freeze on WP when returned to
    By MJK in forum XNA Export Module Version 2.0
    Replies: 14
    Last Post: 17th December 2012, 07:17 AM
  2. BUG: Incorrect size returned when an object is scaled at runtime
    By mobichan in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 26th May 2012, 04:21 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
  •