php

Strange behaviour with content-type header

I developped a wordpress plugin to draw chart from data files. It consists of three ajax call with jason datas.
In locahost it works fine. But in production, the last ajax failed sometimes (two others never !). I saw each times it failed i…

PHP exec() SELinux commands

My goal is to receive command "semanage login -l" message in array and display the results in the browser.
I have created a line inside a class Ausearch where it has a function processSudoInput() with contents:
public function …