Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

PHP Warning system () has been disabled for security reasons

$
0
0

The code I am having a problem with is this: 

 

 

 

                        ob_start();

                        $resultTxt = system($command, $result);

                        $errTxt = ob_get_contents();

                        ob_clean();

                        $resultTxt = nl2br($errTxt) . "$resultTxt";

 

 

 

I get a PHP Warning that the system () has been disabled for security reasons. I don't have access to the php.ini file to change this.

 

Can the code be changed from system to something else that will work?


Viewing all articles
Browse latest Browse all 13200

Latest Images

Trending Articles



Latest Images