How to swap shell exec to curl line? in php?

GOG

New member
How can i swap the output shell to curl output?


this is the line.
$output = shell_exec('mysql -V');

and my servers curl information is.

libcurl/7.19.4 zlib/1.2.3 libidn/0.6.5

if anyone can fix this for me..Thanks.
 
Back
Top