View Single Post
Old 12-27-2007, 08:56 PM  
Spunky
I need a beer
 
Spunky's Avatar
 
Industry Role:
Join Date: Jun 2002
Location: ♠ Toiletville ♠
Posts: 133,959
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" -->
__________________

Last edited by Spunky; 12-27-2007 at 08:58 PM..
Spunky is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote