and your web site
Have you been given the option by your host to install CloudFlare Security on your WebSpace?
If the answer to the above questions is Yes, then it appears that the problem with your scripts not working or your php pages not working correctly may be down to CloudFlare.
Further investigation revealed that something was affecting the headers being processed by the php engine. Some php code requires that the php pages code is the first thing processed by the php engine, and on looking at error logs on the server, the error was ‘cannot send header code on page xxx.php, header already sent’.
The obvious reasons for this were checked, code was correct and in the right place as the first line in the php page, the file had was not saved as utf-8 with BOM, so something else was affecting the page headers.
CloudFlare was switched off and everything started working fine again. It appears that CloudFlare may be adding it’s own headers to pages before they are processed by the php engine and that was what was causing the pages not to perform correctly.
* CloudFlare orange cloud logo is a trademark of CloudFlare, Inc and is acknowledged as such.