top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What is a cookie and How to set cookies in PHP?

+4 votes
27 views
What is a cookie and How to set cookies in PHP?
posted Jan 7, 2016 by anonymous

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

1 Answer

+1 vote

Cookies

A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer.Each time the same computer requests a page with a browser, it will send the cookie too.

Set Cookies

A cookie is created with the setcookie() function.

setcookie(name, value, expire, path, domain, secure, httponly);

see more http://tech.queryhome.com/63029/php-session-and-php-cookies

answer Jan 7, 2016 by Abhishek Maheshwari
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...