Requesting an Activation Key from PHP application now returns null

Our Activation Key PHP code for XLS Padlock worked really well and was working on 13th September when I left work for a week’s holiday. I have retuned only to find that the same code now does NOT work and returns only blank instead of the key.

What has happened? Is it anything to do with perhaps my support running out or is there something else I need to consider? The website is running fine on my host with PHP 7.2.

I’m at a loss and have keys to generate for our applications ASAP.

Try the solution here:

Thank you - this seems to work now. I am unsure why the original generator stopped working. I thought it might have been our firewall and I will test that tonight at home using a link generated from inside our network to see what is going on.

Any reasons that you can suggest as to why it would stop working?

For now, your solution works, so I am happy. Thank you!

For your information, this is the text received by the code before it expands it out into a web page response… perhaps it might help you:

HTTP/1.1 301 Moved Permanently Date: Mon, 23 Sep 2019 09:24:46 GMT Transfer-Encoding: chunked Connection: keep-alive Cache-Control: max-age=3600 Expires: Mon, 23 Sep 2019 10:24:46 GMT Location: Server: cloudflare CF-RAY: 51ab77b1884c975a-FRA

I place a return $result; line after line with $result = curl_exec($ch); to display the text in browser.

Thank you for your additional report. We’re investigating, looks like a problem with a redirection that should not occur.