Cgi ssi in php

They have: 38 posts

Joined: Oct 2001

Is there a function to execute a cgi in a php page ?

just wondering. tnx

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

exec()
passhtru()

or..

<?php
$fp
= fopen(\"http://your.dot.com/path/to/your.cgi?query=string\",\"r\");
fclose(
$fp);
?>

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.