On 6 May 2011 20:18, Steffen Schuldenzucker <sschuldenzucker@uni-bonn.de> wrote:
I don't really expect this to work, but...
<?php
$argsstr = ...
$ok = 0
passthru( './my_real_cgi '.$argsstr, $ok );
exit( $ok );
?>
I actually got something like that to work on a shared host before, I used PHP as the starter and then served a CGI app. You need to make sure the shared libraries for Haskell are on there too (gmp, for example, IIRC).