How to disable PHP's exec function for printing to the shell?

irredeRoN

New Member
I have the following php code:\[code\]exec('curl -X POST http://mysite.com', $output =array());\[/code\]The return string my http://mysite.com is not displayed on the shell, but the following string is displayed:\[code\] % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 3 0 3 0 0 19 0 --:--:-- --:--:-- --:--:-- 0\[/code\]I don't want anything to display on the shell. How to I disable priting to the shell when using exec() command. There are other commands?
 
Back
Top