Hi, How do i use a php5 variable inside a system() call
$dir = '/etc/somedir';
eg system("ls $dir")
i think i'm missing something
ok sorry, i am actually passing a variable from a post eg
$username = $_POST[username];
to a system call
system("processData --user $username --pass $password");
this isn't working, so i trivialised down to a simple example
thanks