Quote:
Originally Posted by Spunky
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
