dragosul
January 31st, 2003, 12:41
i got to remake some script after a guy and i'm not sure of some things like:
setcookie("affilid", $affilid, time()+999*86400, "/");
setcookie("affilid", $affilid, time()+999*86400, "/", "www.ws.com");
setcookie("affilid", $affilid, time()+999*86400, "/", "ws.com");
setcookie("affilid", $affilid, time()+999*86400, "/", ".ws.com");
why did he use so many setcookie isn't the same if i put:
setcookie("affilid", $affilid, time()+999*86400, "/", "ws.com");
_________________________________________________
and another one if the user enters again the web page with NEW $affilid is this cookie rewriten ? or not
setcookie("affilid", $affilid, time()+999*86400, "/");
setcookie("affilid", $affilid, time()+999*86400, "/", "www.ws.com");
setcookie("affilid", $affilid, time()+999*86400, "/", "ws.com");
setcookie("affilid", $affilid, time()+999*86400, "/", ".ws.com");
why did he use so many setcookie isn't the same if i put:
setcookie("affilid", $affilid, time()+999*86400, "/", "ws.com");
_________________________________________________
and another one if the user enters again the web page with NEW $affilid is this cookie rewriten ? or not