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)
-   -   Putting UCJ refer code in php? (https://gfy.com/showthread.php?t=96715)

Plat 12-30-2002 02:02 AM

Putting UCJ refer code in php?
 
Can anyone help me?

I need to put it in a php script, the ucj ref string.


PHP Code:

<!--#exec cmd="/bleh/blehbleh/cgi-bin/ucj/ucjref.cgi"--> 


Plat 06-02-2003 11:05 PM

bump from an old post, need this now :/


awi limits me to a 4 word search so i cant search for php or ucj arg, someone help please

Plat 06-02-2003 11:08 PM

someone help me ill give u 10K in free traffic right now

Spunky 06-02-2003 11:09 PM

Did you try Tim?

Plat 06-02-2003 11:10 PM

Quote:

Originally posted by spunky1
Did you try Tim?
he's not around now

MattO 06-02-2003 11:15 PM

I was told it would be like this:

fopen( "/bleh/blehbleh/cgi-bin/ucj/ucjref.cgi" )

lemme dig a little it's been a while

MattO 06-02-2003 11:17 PM

I make drunk sense, eh?

Plat 06-02-2003 11:19 PM

i duno im drunk too :P

MattO 06-02-2003 11:23 PM

so the ucjref.cgi is on your machine?

have you tried calling it with virtual() or system()?

4Pics 06-02-2003 11:23 PM

Try

exec('perl /path/to/file/cgi-bin/script.cgi');

MattO 06-02-2003 11:25 PM

Quote:

Originally posted by 4Pics
Try

exec('perl /path/to/file/cgi-bin/script.cgi');

yea most likely the simplest. I was assuming there was a problem including it coz of a wacky path

foolio 06-02-2003 11:26 PM

Quote:

Originally posted by MattO
I make drunk sense, eh?
yes

MattO 06-02-2003 11:27 PM

Quote:

Originally posted by foolio


yes


heheh my brain only works in coldfusion these days

4Pics 06-02-2003 11:29 PM

Quote:

Originally posted by Plat
Can anyone help me?

I need to put it in a php script, the ucj ref string.


PHP Code:

<!--#exec cmd="/bleh/blehbleh/cgi-bin/ucj/ucjref.cgi"--> 



Did what I post work for you?

berg.the.red 06-02-2003 11:58 PM

virtual( "/bleh/blehbleh/cgi-bin/ucj/ucjref.cgi" );

or if you happen to be running on a Zeus server:

include( "http://" . $_SERVER["SERVER_NAME"] . "/bleh/blehbleh/cgi-bin/ucj/ucjref.cgi" );

Plat 06-03-2003 12:11 AM

wtf is a zeus server

Plat 06-03-2003 12:14 AM

someone with php knowledge contact me now, ill give u 20k in free traffic now icq 45580484 u better know wtf ur doin

abshard 06-03-2003 12:38 AM

Quote:

Originally posted by Plat
bump from an old post, need this now :/


awi limits me to a 4 word search so i cant search for php or ucj arg, someone help please

for awi search use any of these

*ucj
ucj*
*php
php*

berg.the.red 06-03-2003 02:47 PM

Quote:

Originally posted by Plat
wtf is a zeus server
the POS web server software used by some of the big "virtual farms". i "guess" they don't have an equivalent to the Apache "virtual" command. my bad BTW - should have been:

virtual( "/cgi-bin/ucj/ucjref.cgi" );

JDog 06-03-2003 02:52 PM

Quote:

Originally posted by 4Pics
Try

exec('perl /path/to/file/cgi-bin/script.cgi');

I believe it would be:

virtual('/path/to/file/cgi-bin/script.cgi');

jDoG

snowpimp 06-03-2003 03:29 PM

i know i know
icq me #4790444

snowpimp 06-03-2003 03:31 PM

here it is:

<?php
putenv("REMOTE_ADDR=".$HTTP_SERVER_VARS["REMOTE_ADDR"]);
putenv("REQUEST_METHOD=".$HTTP_SERVER_VARS["REQUEST_METHOD"]);
putenv("HTTP_COOKIE=".$HTTP_SERVER_VARS["HTTP_COOKIE"]);
if( $HTTP_REFERER )
{
putenv("HTTP_REFERER=".$HTTP_REFERER);
}
PassThru("./cgi-bin/ucj/ucjref.cgi");
?>

please icq me and i'll tell you where to send the traffic!


All times are GMT -7. The time now is 07:31 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123