View Single Post
Old 2004-06-18, 05:48 PM   #1
noooze
Well you know boys, a nuclear reactor is a lot like women. You just have to read the manual and press the right button
 
Join Date: Aug 2003
Location: aarhus - denmark
Posts: 155
Send a message via ICQ to noooze
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 :

<script>// JAVASCRIPT CODE
function goTrade(url) {
var winl = (screen.width - 790);
var wint = (screen.height - 500);
window.open('forceref.php?url='+url,'','height=500,width=790,top='+wint+',left='+winl+',scrollbars=0,toolbar=0,location=1,status=1,menubar=0,resizable=1,dependent=1,copyhistory=1');
}
goTrade('http://www.whatever.com/');
setTimeout("self.focus()",200);
</script>


and this :

<body text="#000000" link="#000000" onunload="goTrade('http://www.whatever.com/')">

and the php goes like this :

<?php
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'<html><head><title>'.$name.'</title></head><frameset cols="25%"><frame src="'.$url.'" FRAMEBORDER="0"></frameset></html>';
?>




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 when playing with scripts


regards
Noooze
__________________
The godess of fortune have never smiled at me - but she has often had a good laugh

Last edited by noooze; 2004-06-18 at 05:50 PM..
noooze is offline   Reply With Quote