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 - Autoloader issue not returning Class -

python - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -