Nothing returned from PHP Get URl

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

  • 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

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

Participate now!

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