PHP WebFIDs Example Code:

<html>
        <head>
        <title>PHP WebFIDs Example</title>
        <link href="/webfids/webfids.css" rel="stylesheet" type="text/css" />
        </head>

        <body>

        <b>PHP WebFIDs Example Code:</b><br /><br />
        <blockquote>

        <?php highlight_file($_SERVER['SCRIPT_FILENAME']); ?>

        </blockquote>

        <br /><b>The Output:</b><br /><br />

        <blockquote>

        <h1>Your Custom Header</h1>

        <hr />

        <?php

        putenv
("REQUEST_URI=" $_SERVER['REQUEST_URI']); 
        
putenv("DOCUMENT_ROOT=" $_SERVER['DOCUMENT_ROOT']);
        
putenv("SERVER_PROTOCOL=NO_HEADERS");
        print 
passthru('/cgi-bin/webfids.pl');

        
?>

        <hr />

        <h1>Your Custom Footer</h1>

        </blockquote>

        </body>

</html>


The Output:

Your Custom Header



Your Custom Footer