I know it can be done but its not working does anyone have any hints suggestions?
<?php
//$poc = shell_exec("cd /../cgi-bin/net; ./excalc.pl php where=$_REQUEST[where]");
//$parms = explode("&",$poc);
//$command = $_SERVER[DOCUMENT_ROOT].'/public_html/get_iplayer/get_iplayer.pl --info > testinfo.txt';
$var2 = 'get_iplayer/get_iplayer.pl';
print $var2 ."<br />";
$var3 = 'get_iplayer > test1.txt';
$var4 = $var2 .",".$var3;
if(virtual(`$var2, $var3`)){
print "<br /> <p style=\"font-size:24px; color:#900; text-align:center;\">If you see this the file has executed and passed the variable</p>";
}
else{
print "Error not executed";
}
?>
thanks
Peeps