View Single Post
Old 2004-06-20, 10:58 PM   #2
Entreri
WHO IS FONZY!?! Don't they teach you anything at school?
 
Join Date: Feb 2004
Posts: 42
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 <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.
Entreri is offline   Reply With Quote