Welcome Guest, Not a member yet? Register   Sign In
Impossible to use AJAX on PHP 5.6
#7

(12-23-2016, 05:40 AM)InsiteFX Wrote: .htaccess file try adding this:

Code:
<IfModule mod_php5.c>
  php_value always_populate_raw_post_data -1
</IfModule>

The server use Fastcgi, and I don't even have override permission set on my webdir. Sadly.

Anyway, the solution that could work for me is: prevent the controller to add this header or remove them, if it's possibile.

Other's AJAX applications are working but mine, built with CodeIgniter, doesn't.

I tried to find where this headers are set on the system/ directory to remove them, trying to find a way to let CodeIgniter understand that I don't want headers if the controller has name "Ajax" but I couldn't find anything.
Reply


Messages In This Thread
Impossible to use AJAX on PHP 5.6 - by pex - 12-21-2016, 04:25 PM
RE: Impossible to use AJAX on PHP 5.6 - by pex - 12-22-2016, 03:18 AM
RE: Impossible to use AJAX on PHP 5.6 - by pex - 12-23-2016, 04:29 AM
RE: Impossible to use AJAX on PHP 5.6 - by pex - 12-23-2016, 06:06 AM
RE: Impossible to use AJAX on PHP 5.6 - by pex - 12-23-2016, 08:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB