Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   desperate need of a bit of script help (http://www.greenguysboard.com/board/showthread.php?t=8463)

noooze 2004-06-18 05:48 PM

desperate need of a bit of script help
 
Hiya peeps :)

I have a problem and i'm going crazy |help|
I need to be able to do one single popunder on my site and i need my info to go with, so the script on my trades server can see its from me.

Have just made a great deal and it works on one page ( they are on same server ) but on the other site it doesnt. have tryed every thing and even copy paste

the script looks like this :




and this :



and the php goes like this :

if (ini_get('register_globals') != 1) {
$supers = array('_REQUEST','_ENV','_SERVER','_COOKIE','_GET','_POST');
foreach ($supers as $__s) {
if (is_array($$__s) == true) extract($$__s, EXTR_OVERWRITE);
}
unset($supers);
}
if (!$name) {$name="Free Nude Videos and Images!!!";}
if (!$url) {print "NO URL SPECIFIED";exit;}
print''.$name.'';
?>




and one more problem, gives a popunder at entry and exit. was supposed to only do that once.

can anyone help or give me a better way of doing this ?

I need some help as i'm a |newbie| when playing with scripts


regards
Noooze

Entreri 2004-06-20 10:58 PM

Re: desperate need of a bit of script help
 
Quote:

Have just made a great deal and it works on one page ( they are on same server ) but on the other site it doesnt. have tryed every thing and even copy paste
I'm not sure what you mean here. I assume that you tried to use the exact same script on another site. If that's the case, it does not work because of your window.open - you're trying to open script forceref.php in the page's context (eg. current directory). Use the entire URL instead.

Quote:

and one more problem, gives a popunder at entry and exit. was supposed to only do that once.
Remove the goTrade('http://www.whatever.com/'); within the