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

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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -