Hi, i would like to know if there's a php function that, recieved a string as parameter, returns a command....
for example i have:
$var1="hello";
$var2="1";
$hello1="myoutput";
now i supposed that passthru(string) was that function i was looking for... but it doesn't work;
...
i tried this:
passtrhu("echo(\$".$var1.$var2.")");
and also these:
passtrhu("echo($".$var1.$var2.")");
...
passtrhu("echo(\"$".$var1.$var2."\")");
but i didn't get any output...
Anybody can suggest me how to solve this trouble?
Thanks a lot!