GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Has anyone used UCJ on a php page before? (https://gfy.com/showthread.php?t=795299)

Scroto 12-27-2007 08:36 PM

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"-->
anyone know the php code i need?

Babaganoosh 12-27-2007 08:44 PM

include 'sometoplist.html';

Spunky 12-27-2007 08:56 PM

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" -->

Scroto 12-27-2007 08:57 PM

Quote:

Originally Posted by Babaganoosh (Post 13571090)
include 'sometoplist.html';

awesome, thanks man :thumbsup

Scroto 12-27-2007 08:58 PM

Quote:

Originally Posted by Spunky (Post 13571117)
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 :)

V_RocKs 12-27-2007 09:20 PM

Nobody has had time to. The internet was only born yesterday.

Scroto 12-27-2007 09:27 PM

:thumbsup

Juicy D. Links 12-27-2007 09:38 PM

i did it awhile ago cant remember btw where is Tim??? he is missing in action

Juicy D. Links 12-27-2007 09:39 PM

also on AWI i think if you search youll find my post from few years ago

candyflip 12-27-2007 09:40 PM

Quote:

Originally Posted by Juicy D. Links (Post 13571234)
i did it awhile ago cant remember btw where is Tim??? he is missing in action

Was reached. Sold shit. Check the support board.

Scroto 12-27-2007 09:50 PM

Quote:

Originally Posted by Juicy D. Links (Post 13571237)
also on AWI i think if you search youll find my post from few years ago

Yeah it was sold to a guy who posts by the name of kevin.

Who knows the future of ucj.. lol just needed the php include until arrow is set up and everything swapped over :(

Spunky 12-27-2007 09:54 PM

Interesting..no support for the script yet and Tim basically gave the board away to some Tom and Bigtymer

Scroto 12-27-2007 09:56 PM

Quote:

Originally Posted by Juicy D. Links (Post 13571237)
also on AWI i think if you search youll find my post from few years ago

lol @ your old post "More hits than THE HUN"


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