set_cookie
set_cookie($cookie); - set (add) cookies for the current page
The function accepts parameters as input:
$cookie – string with cookies separated by"; "
After testing, the function returns the result of its work to the script :
true – completed successfully
false – failed