Re: Redirects... cant seem to get it running smoothly!
The odd character is just an encoding issue with the forum, looks fine on your site so don't worry about it.
From what I understand from your previous post, you have your html code under the PHP redirect code?
If this is correct, it's not going to work because usually once the page has redirected any code after it isn't run.
You can't have html before the redirect though either because if anything is output to the browser before the header() command will close the header sent to the browser and then then the redirect won't work.
The normal way to get round it is to use a database to record the click, and have that code before the header() command which is allowed as its just writing to the database.
Alternatively, you may be able to call the external script through PHP, so it will still register the hit. If you can post the code you put on the page normally for the tracking I`ll see if it can work by calling it through PHP.
I`ve clicked on the banner so you can see if its working or not.
Incidentally, Kaspersky Internet Security is blocking the redirect on the Betfair site, looks like its on their blacklist. Nothing you can do about this though.
|