PHP snippet for cookies
Simple php cookie script. Visitors are asked to accept the placement of cookes. When they do a different message/ad/tracking/social will be active.
Cookie parameters and placing, place somewhere at top of code.
Info and accept button, place in webpage header.
Show no-cookies message or show part when cookies are accepted. Can be placed anywhere in code or html.