I'm having a little problem with Cookies when being used with Internet Explorer, i don't have this problem with any other browser, just Internet Explorer so your help would be very much appreciated.
Here is my code:
//do nothing because of duplicate lead from same IP for same campaign
//CHECK IF COOKIE EXISTS BEFORE ADDING LEAD TO DATABASE
@mysql_select_db($database) or die( "Oops theres an error, our highly trained monkeys have been notified.");
$query = sprintf("INSERT INTO affleads VALUES ('','%s',%s,'%s',%s,%s,%s,%s,%s,%s,'%s','%s','%s','%s')",
mysql_query($query) or dies(mysql_error());
For some reasons leads are not being added to the database if the browser they are using is Internet Explorer which leaves to be think it has something to do with the code that checks to see if the cookie exists or not.
Does IE block checks to see if there are cookies on the users PC or something, if you guys could help me out that would be great. Like i said it works 100% for all other browsers, just not IE.