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 <script> tags. You're calling your function twice... at unload and when the script loads.
Quote:
can anyone help or give me a better way of doing this ?
|
Yes, but I'm fairly sure there are plenty tutorials on this.

Also, be careful with that register_globals enabled in php...
Entreri.