php - How to use exec() to display more than one value? -


i'm using php function exec() execute shell script. shell script return 3 echo :

[.. script ..] echo $mp3 echo "$title" echo $img 

how can recover them separately use them ?

for now, when print output, $img printed.

thanks in advance

~quentin

first of all, script doesn't return 3 values.

instead, echo 3 variables. think 2 first not initialized.


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -