Mega Code Archive

 
Categories / Php / Cookie Session
 

Setting the cookie path to a specific directory

setcookie('short-userid','AAA',0,'/~alice/');