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

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

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -