title: How to cookie visitors (PHP) who visit a certain page?
body: <p>I have a client who has a landing page that is ranking well in organic search results. The site is built using a LAMP stack, PHP.</p>
  
  <p>For example, they might have a page like www.domain.com/manhattan-accounting</p>
  
  <p>Now, that page is really only accessible via organic results or the sitemap, because it's not part of the main navigation (and probably shouldn't be, because it's text heavy).  </p>
  
  <p>They want to cookie any visitor who comes across that page, so that upon the contact page's contact form submission, it CCs to an additional email address. </p>
  
  <p>For example, let's say the contact form at www.domain.com/contact goes to contact@domain.com for regular visitors. For any visitor who has either come in via www.domain.com/manhattan-accounting (the organic landing page) or has navigated to www.domain.com/manhattan-accounting during surfing the site... if that user (who we need to cookie obviously once they hit that /manhattan-accounting/ page) submits the contact form located at www.domain.com/contact
  we need to have it go to contact@domain.com and also accounting@domain.com</p>
  
  <p>Thanks in advance for your responses. I am newer to PHP and have been searching previous questions but was unable to find anything like this.</p>