PHP 8.5.0 Released!

Voting

: seven minus three?
(Example: nine)

The Note You're Voting On

tonysb at gmx dot net
23 years ago
shell_exec is extremely useful as a substitute for the virtual() function where unavailable (Microsoft IIS for example). All you have to do is remove the content type string sent in the header:
<? 
$mstrng = shell_exec('yourcgiscript.cgi');
$mstrng = ereg_replace( "Content-type: text/html", "", $mstrng );
echo $mstrng;
?>
This works fine for me as a substitute for SSI or the virtual() func.
Anton Babadjanov
http://www.vbcn.com.ar 

<< Back to user notes page

AltStyle によって変換されたページ (->オリジナル) /