View Single Post
Old 12-27-2007, 08:58 PM  
Scroto
Confirmed User
 
Scroto's Avatar
 
Join Date: Nov 2005
Posts: 2,804
Quote:
Originally Posted by Spunky View Post
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");
?>
yeah i had that, just no way to call the top list in php, but Babaganoosh's include worked fine

Last edited by Scroto; 12-27-2007 at 08:59 PM..
Scroto is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote