|
Use the following code instead of your SSI code in the <HEAD> </HEAD> region of your PHP page:
<?php
putenv ( "REMOTE_ADDR=".$HTTP_SERVER_VARS["REMOTE_ADDR"] ) ;
if( $HTTP_SERVER_VARS["HTTP_REFERER"] ) {
putenv ( "HTTP_REFERER=".$HTTP_SERVER_VARS["HTTP_REFERER"] ) ;
} else { putenv("HTTP_REFERER=noref"); }
PassThru("./cgi-bin/ucj/protect/ucjref.cgi");
?>
Name a page top15.html or whatever
include where you want
<p align="center"><!--#include file="top15.html" -->
|