i have just started implemting bash commands into my php scripts the first few works fine now i am trying to do the following bash command in my php script
exec("awk -F: '{printf "www.example.com/2/tks.php?account=%s%%3A%s
" ,$1, $2 }' < /opt/lampp/htdocs/$filename > /opt/lampp/htdocs/2.txt");
the error i am getting from my php script that worked fine before i put this in is
Parse error: syntax error, unexpected 'www' (T_STRING) in /opt/lampp/htdocs/index.php on line 54