title: How can PHP see client side cookies?
body: <p>How can PHP see client side cookies?</p>
  
  <p>To elaborate:
  When working with PHP &amp; Javascript, I understand that PHP gets processed on the server side. While Javascript happens on the client side.</p>
  
  <p>In Javascript I can check and set these client cookies. That makes sense.</p>
  
  <p>However, with PHP, if I check a client cookie value as part of a conditional statement that also sets , how is PHP able to see the clients cookie value while the PHP is happening on the server side?</p>
  
  <p>Here's an example of the PHP conditional that lives in a php file:</p>
  
  <pre><code>&lt;?PHP
  if ($_COOKIE["name"] == “Mickey”) {
      setcookie(“fulsome”, “Mickey Mouse”, time()+3600);  
  }
  ?&gt;
  </code></pre>