11 months ago

want to write a php variable in my shell exec command but it is not working

Posted 11 months ago by phil1992

here is a part of my Code in the Controller $datnam="string"; echo shell_exec('echo"set terminal png; set output '/home/path/plot2.png'.....") with my plot2 png it is perfectly working but i want instead of plot2.png i want my variable $datnam, but it is not working can anybody help me ? ;)

Please sign in or create an account to participate in this conversation.