Originally posted by Wrensoft
Thanks,
Sean
<?php $QSTRING = $_SERVER['QUERY_STRING']; while (list ($header, $value) = each ($HTTP_GET_VARS)) { $QSTRING = $QSTRING.'&'.$header.'='.$value; } $output = shell_exec("/cgi-bin/search.cgi".'?'.$QSTRING); $output = ereg_replace("Content-type: text/html", "", $output); echo $output; ?>
Comment