![]() |
Has anyone used UCJ on a php page before?
I would ask on their forum but im still waiting on activation :)
Just need the include code to show top lists. The docs. only give the header code for tracking lol the standard code used under shtml is Code:
<!--#include virtual="sometoplist.html"--> |
include 'sometoplist.html';
|
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" --> |
Quote:
|
Quote:
|
Nobody has had time to. The internet was only born yesterday.
|
:thumbsup
|
i did it awhile ago cant remember btw where is Tim??? he is missing in action
|
also on AWI i think if you search youll find my post from few years ago
|
Quote:
|
Quote:
Who knows the future of ucj.. lol just needed the php include until arrow is set up and everything swapped over :( |
Interesting..no support for the script yet and Tim basically gave the board away to some Tom and Bigtymer
|
Quote:
|
| All times are GMT -7. The time now is 12:54 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123