I want to excute "pict" program which is a combination tool
and then pass all the output to the DB; mysql
and it seems either using exec, passthru or system doesn't matter, does't it?
what should be done step by step?

This will run the pict command and any results from pict will be in the $result variable.

$cmd = "pict (insert args here)";
    $result = shell_exec ($cmd);
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.