when I try n run a page to log me out of my site I get this error
Warning: setcookie() expects parameter 3 to be long, string given in /home/testsite/public_html/testsite/library.php on line 342
I think it is refering to this code....
function logout () {
global $cookiepath;
setcookie("testsite", "", "", "$cookiepath");
any clues as to what im doing wrong?