PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>texvc</title></head><body>
-<?
+<?php
print "<form method=\"post\" action=\"{$wgServer}{$wgScriptPath}/texvc_cgi.phtml\">"
?>
<textarea name='math' rows='10' cols='80'><?
$math = preg_replace ("/\\\\\\\\/", '\\', $math);
print $math;
?></textarea><br /><input type="submit" value="Preview" name="preview" /></form>
-<?
+<?php
function xlinkToMathImage ( $tex, $outputhash )
{
global $wgMathPath;