Script inside a redirect page

Hello everyone!
I have an affiliate link which basically looks like that:

HTML Code:
[I]<a href="this-is-the-link" dmm-id="1022449" ads-tag="brandname">Enter text here</a>
<script src="ajax.googleapis/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
<script src="marketing.brandname/ClientScripts/jquery.cookie.js" type="text/javascript"></script>
<script src="marketing.brandname/ClientScripts/ics.script.js" type="text/javascript"></script>[/I]

I was unable to redirect the whole thing including the script using the php redirect. The error message was:

Quote:

Parse error: syntax error, unexpected T_STRING in /var/www/u4245651/data/www/mywebsite/play/brandname.php on line 1

My question is – how can I redirect a link that contains a script and stuff like "dmm-id="1022449" ads-tag="brandname"" after the link as well?

See original post by Oby1KnOby

Leave a Reply