Difference between revisions of "C.php"

From Organic Design wiki
m
(oh, not working, shellexec won't execute anything)
Line 7: Line 7:
  
 
$gcc = $htdocs.'wiki/gcc';
 
$gcc = $htdocs.'wiki/gcc';
$article = shell_exec( "png2dbl sssss" );
+
$article = shell_exec($gcc);
  
 
?>
 
?>

Revision as of 02:17, 23 June 2006

<?

  1. C Compiler for XmlWiki Environment

$server = $_SERVER['HTTP_HOST']; $htdocs = $_SERVER['DOCUMENT_ROOT']; if ( !ereg( "\\/$", $htdocs ) ) $htdocs .= '/';

$gcc = $htdocs.'wiki/gcc'; $article = shell_exec($gcc);

?>