Difference between revisions of "C.php"

From Organic Design wiki
(simplify test)
m
Line 7: Line 7:
  
 
#$gcc = $htdocs.'wiki/gcc';
 
#$gcc = $htdocs.'wiki/gcc';
$article = shell_exec("/usr/bin/gcc -v");
+
#$article = shell_exec("/usr/bin/gcc -v");
 +
$article = "fishy";
  
 
?>
 
?>

Revision as of 02:51, 23 June 2006

<?

  1. C Compiler for XmlWiki Environment
  1. $server = $_SERVER['HTTP_HOST'];
  2. $htdocs = $_SERVER['DOCUMENT_ROOT'];
  3. if ( !ereg( "\\/$", $htdocs ) ) $htdocs .= '/';
  1. $gcc = $htdocs.'wiki/gcc';
  2. $article = shell_exec("/usr/bin/gcc -v");

$article = "fishy";

?>