title: Difference between setcookie() and session_set_cookie_params() functions
body: <p>I am trying to understand the difference between PHP functions setcookie() and session_set_cookie_params(). </p>
  
  <p>Looks like both functions are doing the same kind of tasks but setcookie() can be used to create cookie with name &amp; value.</p>
  
  <p>I tried to understand PHP manuals but no clear differences pointed out in it.</p>
  
  <p>Thanks  </p>