{"id":4531,"date":"2021-10-25T11:46:43","date_gmt":"2021-10-25T06:16:43","guid":{"rendered":"https:\/\/selfimagination.in\/tips\/?p=4531"},"modified":"2021-11-08T13:56:12","modified_gmt":"2021-11-08T08:26:12","slug":"php-cookies","status":"publish","type":"post","link":"https:\/\/selfimagination.in\/tips\/php-cookies\/","title":{"rendered":"PHP Cookies"},"content":{"rendered":"\n<p>PHP \u0938\u0947 \u0939\u092e Cookies \u0915\u094b \u092d\u0940 Manage \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 , \u0938\u092c\u0938\u0947 \u092a\u0939\u0932\u0947 \u0939\u092e \u092f\u0939 \u0938\u092e\u091d \u0932\u0947\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 Cookies \u0915\u094d\u092f\u093e \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Cookies \u0915\u094d\u092f\u093e \u0939\u0948\u0902?  (What is a cookie in PHP?)<\/h2>\n\n\n\n<p>Cookies data \u0915\u0947 \u0935\u0939 \u091b\u094b\u091f\u0947 \u092c\u094d\u0932\u0949\u0915 \u0939\u0948\u0902 \u091c\u093f\u0928\u0915\u094b \u0915\u0940 Web Server \u0926\u094d\u0935\u093e\u0930\u093e Browser \u0915\u0940 \u092e\u0926\u0926 \u0938\u0947 \u0906\u092a\u0915\u0947 Computer \u092a\u0930 Store \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964 \u0924\u093e\u0915\u093f \u091c\u092c \u092d\u0940 \u091c\u093f\u0938 Website \u092f\u093e Web Application \u0928\u0947 \u0935\u0939 Data Store \u0915\u093f\u092f\u093e \u0939\u0948\u0902 \u0909\u0938\u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u0938\u0915\u0947 \u0964 <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Cookies \u0915\u0947 \u0915\u093e\u0930\u094d\u092f (How do cookies work in PHP?)<\/h2>\n\n\n\n<p>\u0906\u092a\u0928\u0947 \u0926\u0947\u0916\u093e \u0939\u094b\u0917\u093e \u0915\u0940 \u091c\u092c \u092d\u0940 \u0939\u092e browsing \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0914\u0930 \u0915\u093f\u0938 website \u092a\u0930 \u0915\u0941\u091b \u091c\u093e\u0928\u0915\u093e\u0930\u0940 Enter \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u091c\u0948\u0938\u0947 , \u0905\u092a\u0928\u093e \u0928\u093e\u092e, Email \u0906\u0926\u093f, \u091c\u092c \u0905\u0917\u0932\u0940 \u092c\u093e\u0930 \u0939\u092e \u092b\u093f\u0930 \u0938\u0947 \u0909\u0938\u0940 \u0935\u0947\u092c\u0938\u093e\u0908\u091f \u092a\u0930 \u091c\u093e\u0924\u0947 \u0939\u0948\u0902 \u0924\u094b \u0935\u0939 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0909\u0938 \u0935\u0947\u092c\u0938\u093e\u0908\u091f \u092a\u0930 \u092a\u0939\u0932\u0947 \u0938\u0947 \u0939\u0940 Fill \u0939\u094b \u0915\u0930 \u0906 \u091c\u093e\u0924\u0940 \u0939\u0948\u0902 , \u092f\u0939\u0940 \u0915\u093e\u0930\u094d\u092f Cookies \u0915\u0930\u0924\u0940 \u0939\u0948\u0902 , \u092f\u0939 \u091c\u094b \u091b\u094b\u091f\u0940 \u091b\u094b\u091f\u0940 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0939\u0948\u0902 \u0907\u0938\u0947 Browser \u0915\u0940 \u092e\u0926\u0926 \u0938\u0947 Webserver \u0939\u092e\u093e\u0930\u0947 Computer \u092a\u0930 Store \u0915\u0930 \u0926\u0947\u0924\u093e \u0939\u0948\u0902 \u0964 \u0913\u0930 \u092b\u093f\u0930 \u0909\u0938\u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u093e \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p><a href=\"https:\/\/selfimagination.in\/tips\/php-session\/\">\u091c\u093e\u0928\u0947 PHP Session \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947 <\/a><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Cookies \u0938\u0947 \u0939\u092e\u0947 \u0915\u094d\u092f\u093e \u092b\u093e\u092f\u0926\u093e \u092f\u0926\u093f \u0939\u092e Visitor \u0939\u0948\u0902 ?<\/h2>\n\n\n\n<p>\u0926\u0947\u0916\u093f\u090f \u091c\u092c \u0939\u092e \u092c\u094d\u0930\u093e\u0909\u095b\u093f\u0902\u0917 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0924\u094b \u092c\u0939\u0941\u0924 \u0938\u0947 \u092c\u093e\u0930 \u0939\u092e\u0947 \u0939\u092e\u0930\u0940 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0926\u0947\u0928\u093e \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u092f\u0926\u093f \u0939\u092e\u093e\u0930\u0947 \u0926\u094d\u0935\u093e\u0930\u093e \u0926\u0940 \u0917\u0908 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u092a\u0939\u0932\u0947 \u0938\u0947 fill \u0939\u094b \u0915\u0930 \u092f\u093e \u091c\u093e\u090f\u0917\u0940 \u0939\u094b \u0939\u092e\u093e\u0930\u093e \u0915\u093e\u0930\u094d\u092f \u0906\u0938\u093e\u0928 \u0939\u094b \u091c\u093e\u090f\u0917\u093e \u0964  \u0939\u092e \u092f\u0939 \u0915\u0939 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u0939\u092e\u0928\u0947 \u091c\u094b \u092d\u0940 \u092c\u094d\u0930\u093e\u0909\u095b \u0915\u093f\u092f\u093e \u0909\u0938 \u092a\u0930 \u092f\u0926\u093f \u0939\u092e\u0928\u0947 \u0915\u093e\u0939\u0940 \u092a\u0930 \u0915\u094b\u0908 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0926\u0940 \u0939\u0948 \u0913\u0930 \u0909\u0938 \u0935\u0947\u092c\u0938\u093e\u0908\u091f \u0928\u0947 \u0909\u0938\u0947 Cookies \u092e\u0947 store \u0915\u093f\u092f\u093e \u0939\u0948\u0902 \u0924\u094b \u0905\u0917\u0932\u0940 \u092c\u093e\u0930 \u0939\u092e\u0947 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0905\u092a\u0928\u0947 \u0906\u092a \u0939\u0940 fill \u0939\u094b \u0915\u0930 \u092a\u094d\u0930\u093e\u092a\u094d\u0924 \u0939\u094b \u091c\u093e\u090f\u0917\u0940 \u0964 <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Cookies \u0938\u0947 \u0939\u092e\u0947 \u0915\u094d\u092f\u093e \u092b\u093e\u092f\u0926\u093e \u092f\u0926\u093f \u0939\u092e Website Owner \u0939\u0948\u0902 ?<\/h2>\n\n\n\n<p> \u0939\u0930 Website \u092f\u093e Web Server \u0935\u093e\u0932\u0947 \u091a\u093e\u0939\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u0909\u0928\u0915\u0940 \u0935\u0947\u092c\u0938\u093e\u0908\u091f \u092a\u0930 Visitor \u091c\u094d\u092f\u093e\u0926\u093e \u0938\u092e\u092f \u092c\u093f\u0924\u093e\u092f\u0947, \u091c\u094d\u092f\u093e\u0926\u093e \u0938\u092e\u092f \u091c\u092c \u0939\u0940 \u092c\u093f\u0924\u093e\u090f\u0917\u093e \u091c\u092c \u0909\u0938 \u0935\u0947\u092c\u0938\u093e\u0908\u091f \u092a\u0930 \u0909\u0938\u0938\u0947 \u0938\u0902\u092c\u0902\u0927\u093f\u0924 \u0906\u0930\u094d\u091f\u093f\u0915\u0932 \u092f\u093e \u092a\u094d\u0930\u094b\u0921\u0915\u094d\u091f \u0939\u094b \u0964 \u0905\u092c \u0915\u094b\u0908 \u092d\u0940 \u0935\u0947\u092c\u0938\u093e\u0908\u091f owner \u0939\u092e\u0928\u0947 \u0909\u0938 website \u092a\u0930 \u0915\u094d\u092f\u093e search \u0915\u093f\u092f\u093e , \u0915\u094d\u092f\u093e read \u0915\u093f\u092f\u093e \u0906\u0926\u093f \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0915\u0947 \u0906\u0927\u093e\u0930 \u092a\u0930 \u0909\u0938\u0938\u0947 \u0938\u0902\u092c\u0902\u0927\u093f\u0924 \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u0939\u092e\u0947 \u0926\u093f\u0916\u093e\u0924\u0947 \u0939\u0948\u0902 \u0924\u093e\u0915\u093f \u0939\u092e\u0947 \u091c\u094d\u092f\u093e\u0926\u093e \u0938\u0947 \u091c\u094d\u092f\u093e\u0926\u093e \u0938\u092e\u092f \u0926\u0947 \u0938\u0915\u0947 <\/p>\n\n\n\n<p>\u0938\u093e\u0925 \u0939\u0940 \u092e\u0947 \u092f\u0926\u093f \u0939\u092e \u0915\u094b\u0908 Product \u0911\u0930\u094d\u0921\u0930 \u0915\u0930 \u0930\u0939\u0947 \u0939\u0948\u0902 \u0924\u094b Cart \u092e\u0947 Add Product \u092d\u0940 Cookies \u092e\u0947 Store \u0915\u0930 \u0930\u0916 \u0938\u0915\u0924\u0947 \u0939\u0948 \u0964 \u0938\u093e\u0925 \u0939\u0940 \u092e\u0947 \u090f\u0915 \u092f\u0942\u091c\u0930 \u0915\u093f\u0924\u0928\u0940 \u092c\u093e\u0930 \u0932\u0949\u0917\u093f\u0928 \u0915\u0930\u0924\u093e \u0939\u0948 \u0906\u0926\u093f \u091c\u093e\u0928\u0915\u093e\u0930\u0940 \u092d\u0940 website owner \u0926\u0947\u0916 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">\u0939\u092e\u093e\u0930\u0947 \u0905\u0928\u094d\u092f Article <\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-aggregate-function-in-hindi\/\">MySQL Aggregate Function<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-stored-procedure\/\">MySQL Stored Procedures<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/mysql-trigger\/\">MySQL Trigger (Before\/After)<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/php-validation-filter-var-preg_match\/\">PHP Form Validations, Required, Filter<\/a>&nbsp;<\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/dbcmd\/\">PHP MySQL Connection<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/php-dropdown-from-mysql\/\">Dropdown Retrieve from MySQL&nbsp;<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/learn-c-basic-n-advance\/\">Learn C (Single Page Summary)<\/a><\/li><li><a href=\"https:\/\/selfimagination.in\/tips\/arduino-guide-2021-hindi\/\">Arduino Guide 2021 (Hindi)<\/a><\/li><li><a href=\"https:\/\/blog.learncomputer.selfimagination.in\/2020\/10\/keyboard-shortcut.html\">\u0915\u0940\u092c\u094b\u0930\u094d\u0921 \u0936\u0949\u0930\u094d\u091f\u0915\u091f\u094d\u0938 <\/a><\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">PHP Cookies Developer\/Programmer \u0915\u0947 \u0932\u093f\u090f (How to create cookies in php)<\/h2>\n\n\n\n<p>\u0907\u0938 Article \u0915\u094b Read \u0915\u0930\u0928\u0947 \u0935\u093e\u0932\u094b\u0902 \u0915\u0940 \u0938\u092c\u0938\u0947 \u0905\u0927\u093f\u0915 \u0938\u0902\u0916\u094d\u092f\u093e php Developer \u0915\u0940 \u0939\u094b\u0917\u0940 \u0907\u0938\u0932\u093f\u090f  \u0915\u093f\u0938 \u0924\u0930\u0939 \u0938\u0947 Cookies \u0915\u094b Set \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 , Modify \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 , \u0913\u0930 Delete \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0906\u0907\u090f \u0909\u0938\u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947 \u0938\u092e\u091d\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Set Cookies : <\/h3>\n\n\n\n<p>\u091c\u092c \u092d\u0940 \u0939\u092e\u0947 Cookies \u092e\u0947 Value Set \u0915\u0930\u0928\u093e \u0939\u094b \u0924\u092c \u0939\u092e \u0907\u0938 \u092a\u094d\u0930\u0915\u093e\u0930 \u0938\u0947 \u0932\u093f\u0916\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">setcookie(\"name\", \"value\", time() + (86400 * 30), \"\/\"); \/\/ 86400 = 1 day<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>name :<\/strong> \u092f\u0902\u0939\u093e \u092a\u0930 Cookies \u0915\u093e \u0928\u093e\u092e \u0926\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964 <\/li><li><strong>value :<\/strong> \u092f\u0902\u0939\u093e \u092a\u0930 \u091c\u094b \u092d\u0940 Value \u0939\u092e\u0947 Store \u0915\u0930\u0928\u093e \u0939\u0948\u0902 \u0909\u0938\u0947 \u0932\u093f\u0916\u0928\u093e \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0964 <\/li><li><strong>active time :<\/strong> \u092f\u0902\u0939\u093e \u092a\u0930 \u0915\u093f\u0924\u0928\u0947 \u0938\u092e\u092f \u0924\u0915 \u0939\u092e\u0947 \u0907\u0938\u0947 \u0910\u0915\u094d\u091f\u093f\u0935 \u0930\u0916\u0928\u093e \u0939\u0948\u0902 \u0935\u0939 \u0938\u092e\u092f \u0926\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964 Time Second \u092e\u0947 \u0926\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964 <\/li><\/ul>\n\n\n\n<p>1 \u0926\u093f\u0928 \u092e\u0947 86400 \u0938\u0947\u0915\u0902\u0921 \u0939\u094b\u0924\u0947 \u0939\u0948\u0902 \u0939\u092e\u0928\u0947 \u090f\u0915 \u092e\u093e\u0939 \u0915\u0947 \u0932\u093f\u090f Cookies \u0938\u0947\u091f \u0915\u0940 \u0939\u0948\u0902 \u0907\u0938\u0932\u093f\u090f 86400 * 30 \u0915\u093f\u092f\u093e \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Modify Cookies :<\/h3>\n\n\n\n<p>\u091c\u092c \u092a\u0939\u0932\u0947 \u0938\u0947 \u092c\u0928\u0940 Cookies \u092e\u0947 \u0915\u094b\u0908 \u092c\u0926\u0932\u093e\u0935 \u0915\u0930\u0928\u093e \u0939\u094b \u0924\u094b \u0907\u0938 \u092a\u094d\u0930\u0915\u093e\u0930 \u0938\u0947 \u0932\u093f\u0916\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964 \u092f\u0926\u093f \u092a\u0939\u0932\u0947 \u0938\u0947 \u0915\u094b\u0908 Cookies \u0907\u0938 \u0928\u093e\u092e \u0938\u0947 \u092c\u0928\u0940 \u0939\u0948\u0902 \u0924\u094b \u0935\u0939 Modify \u0939\u094b \u091c\u093e\u090f\u0917\u0940 \u0913\u0930 \u0928\u0939\u0940\u0902 \u092c\u0928\u0940 \u0939\u0948\u0902 \u0924\u094b \u0935\u0939 Create \u092f\u093e Set \u0939\u094b \u091c\u093e\u090f\u0917\u0940 \u0964 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">setcookie(\"name\", \"new value\", time() + (86400 * 30), \"\/\"); \/\/ 86400 = 1 day<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Delete Cookies :<\/h3>\n\n\n\n<p>\u091c\u092c \u0939\u092e\u0947 Cookies \u0915\u094b Delete \u0915\u0930\u0928\u093e \u0939\u094b \u0924\u094b \u0939\u092e\u0947 \u0907\u0938 \u0924\u0930\u0939 \u0938\u0947 \u0932\u093f\u0916\u0928\u093e \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0964 \u092f\u0902\u0939\u093e \u092a\u0930 \u0939\u092e\u0928\u0947 \u090f\u0915 \u0924\u094b value \u0915\u094b blank \u0915\u0930 \u0926\u093f\u092f\u093e \u0938\u093e\u0925 \u092e\u0947 \u091f\u093e\u0907\u092e \u0915\u094b Current time \u0938\u0947 \u092a\u0939\u0932\u0947 \u0915\u093e \u0915\u0930 \u0926\u093f\u092f\u093e \u0924\u093e\u0915\u093f \u092f\u0939 \u0938\u094d\u0935\u0924\u0903 \u0939\u0940 inactive \u0939\u094b \u091c\u093e\u090f \u0964 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">setcookie(\"name\", \"\", time() - 36000);<\/code><\/pre>\n\n\n\n<p>\u0938\u093e\u0925 \u092e\u0947 \u091a\u093e\u0939\u0947 \u0939\u094b \u0939\u092e \u0907\u0938\u0947 unset \u092d\u0940 \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">unset($_COOKIE['name']); <\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">Get Cookies Values Using Global Variable :<\/h3>\n\n\n\n<p>Cookies \u090f\u0915 Global Variable \u092d\u0940 \u0939\u0948\u0902 \u0939\u092e \u0907\u0938\u0915\u0940 \u0935\u0948\u0932\u094d\u092f\u0942 \u0915\u094b \u0907\u0938 Form \u092e\u0947 \u092d\u0940 Get \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0913\u0930 Set \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 , <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">\/\/For Get Value \necho $_COOKIE['name'];\n<\/code><\/pre>\n\n\n\n<p>\u0928\u093f\u092e\u094d\u0928 Example \u0938\u0947 \u0906\u092a \u0938\u092e\u091d \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u0939\u092e \u0915\u0948\u0938\u0947 Cookies \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"php\" class=\"language-php\">$cookie_name = \"user\"\nif(!isset($_COOKIE[\"user\"])) \n{\n\techo \"Cookie named '\" . $cookie_name . \"' is not set!\";\n} \nelse \n{\n\techo \"Cookie '\" . $cookie_name . \"' is set!&lt;br&gt;\";\n\techo \"Value is: \" . $_COOKIE[$cookie_name];\n}\n<\/code><\/pre>\n\n\n\n<p>\u0927\u094d\u092f\u093e\u0928 \u0930\u0939\u0947 \u092f\u0939 \u092a\u0930 \u092f\u0926\u093f \u0906\u092a\u0928\u0947 \u0915\u092d\u0940 \u0907\u0938 Global Variable \u0938\u0947 Value Set \u0915\u0930\u0928\u0947 \u0915\u0940 \u0915\u094b\u0936\u093f\u0936 \u0915\u0940 \u0924\u094b \u0935\u0939 Cookies \u092e\u0947 Store \u0928\u0939\u0940\u0902 \u0939\u094b\u0917\u0940 Cookies \u092e\u0947 Value Store \u0915\u0930\u0928\u0947 \u0915\u093e \u0924\u0930\u0940\u0915\u093e  setcookie() \u0939\u0940 \u0939\u0948\u0902 \u0964  <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Browser \u092e\u0947 Cookies \u0915\u0939\u093e Store \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 ? (Where cookies are stored PHP?)<\/h2>\n\n\n\n<p>\u092f\u0926\u093f \u0906\u092a \u0926\u0947\u0916\u0928\u093e \u091a\u093e\u0939\u0947 \u0939\u094b Browser \u092e\u0947 \u0926\u0947\u0916 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u0915\u094c\u0928 &#8211; \u0915\u094c\u0928 \u0938\u0940 Cookies Store \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Browser \u0915\u0947 3 Dot \u0935\u093e\u0932\u0947 \u092c\u091f\u0928 \u0915\u094b \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947 \u0964 <\/li><li>\u0909\u0938\u0915\u0947 \u092c\u093e\u0926 Setting \u092e\u0947 \u091c\u093e\u090f <\/li><li>Privacy and Security Option \u092a\u0930 Click \u0915\u0930\u0947 \u0964 <\/li><li>Cookies and other site data \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947 <\/li><\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"291\" src=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-9.png?resize=640%2C291&#038;ssl=1\" alt=\"How to Open Cookies in Browser\" class=\"wp-image-4548\" srcset=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-9.png?resize=1024%2C466&amp;ssl=1 1024w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-9.png?resize=300%2C136&amp;ssl=1 300w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-9.png?resize=768%2C349&amp;ssl=1 768w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-9.png?w=1097&amp;ssl=1 1097w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>5. \u091c\u092c \u0906\u092a 4 \u0935\u093e\u0932\u0947 \u0911\u092a\u094d\u0936\u0928 \u092a\u0930 Click \u0915\u0930\u0947\u0902\u0917\u0947 \u0924\u094b \u0907\u0938 \u092c\u0939\u0941\u0924 \u0938\u0947 \u0911\u092a\u094d\u0936\u0928 \u0926\u093f\u0916\u093e\u0908 \u0926\u0947\u0902\u0917\u0947 \u0909\u0938 \u092a\u0930 \u0906\u092a\u0915\u094b See all cookies and site data \u092a\u0930 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0928\u093e \u0939\u0948\u0902\u0964 <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"60\" src=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-10.png?resize=640%2C60&#038;ssl=1\" alt=\"\" class=\"wp-image-4551\" srcset=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-10.png?w=707&amp;ssl=1 707w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-10.png?resize=300%2C28&amp;ssl=1 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>6. \u0907\u0938 \u0911\u092a\u094d\u0936\u0928 \u0915\u094b \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0928\u0947 \u0915\u0947 \u092c\u093e\u0926 \u0906\u092a Search \u092e\u0947 \u091c\u093e \u0915\u0930 search \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902, \u0909\u0938\u0915\u0947 \u092c\u093e\u0926 \u091c\u092c \u0906\u092a \u0913\u092a\u0928 \u0915\u0930\u0947\u0902\u0917\u0947 \u0924\u094b \u0915\u0941\u091b \u0907\u0938 \u0924\u0930\u0939 \u0938\u0947 \u0926\u093f\u0916\u093e\u0908 \u0926\u0947\u0917\u093e \u0964 <\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"613\" src=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-11.png?resize=640%2C613&#038;ssl=1\" alt=\"See Cookies in Browser\" class=\"wp-image-4553\" srcset=\"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-11.png?w=676&amp;ssl=1 676w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-11.png?resize=300%2C288&amp;ssl=1 300w, https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/image-11.png?resize=60%2C57&amp;ssl=1 60w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Cookies \u0915\u0940 Hardisk \u092a\u0930 \u0915\u094d\u092f\u093e Location \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 <\/h2>\n\n\n\n<p>&lt;Window Installation Drive&gt;:\\Users\\&lt;User Name&gt;\\AppData\\Local\\&lt;Browser Name&gt;\\User Data\\Default\\Cookies<\/p>\n\n\n\n<p>\u0907\u0938 \u091c\u0917\u0939 \u092a\u0930 Cookies Files Store \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u0907\u0938 \u0906\u092a open \u0915\u0930\u0947\u0902\u0917\u0947 \u0924\u094b \u0906\u092a Read \u0928\u0939\u0940\u0902 \u0915\u0930 \u092a\u093e\u090f\u0902\u0917\u0947 \u0907\u0938\u0947 \u0926\u0947\u0916\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0939\u092e Browser \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0924\u0947 \u0939\u0948\u0902 \u0964 <\/p>\n\n\n\n<p>\u0939\u094b \u0938\u0915\u0924\u093e \u0939\u0948\u0902 \u0915\u0940 AppData Folder Hide \u0939\u094b \u0924\u094b \u0906\u092a \u0909\u0938\u0947 \u0938\u0947\u091f\u093f\u0902\u0917 \u092e\u0947 \u091c\u093e \u0915\u0930 Show \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0964  <\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Cookies \u0914\u0930 Session \u092e\u0947 \u0915\u094d\u092f\u093e \u0905\u0902\u0924\u0930 \u0939\u0948\u0902 ? (Difference Between Cookies and Session )<\/h2>\n\n\n\n<p><a href=\"https:\/\/selfimagination.in\/tips\/php-session\/\">\u0926\u094b\u0928\u094b\u0902 \u0915\u0947 \u092c\u0940\u091a \u0905\u0902\u0924\u0930 \u0938\u092e\u091d\u0928\u0947 \u0938\u0947 \u092a\u0939\u0932\u0947 \u0906\u092a Session \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947 \u092f\u0939\u093e Click \u0915\u0930 Read \u0915\u0930\u0947 \u0964 <\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Cookies<strong> Client <\/strong>\u0915\u0947 Browser \u092e\u0947 Store \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u091c\u092c\u0915\u093f Session<strong> Server<\/strong> \u092a\u0930 Store \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u0964 <\/li><li>\u0906\u092a\u0928\u0947 \u091c\u094b Cookies \u0915\u093e <strong>Expire Time <\/strong>\u0926\u093f\u092f\u093e \u0939\u0948\u0902 \u091c\u092c \u0939\u093f Cookies end \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u091c\u092c\u0915\u093f Session <strong>Browser \u0915\u094b Close <\/strong>\u0915\u0930\u0924\u0947 \u0939\u093f end \u0939\u094b \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964 <\/li><li>Cookee \u0915\u0947\u0935\u0932 <strong>4kb data \u0939\u0940 <\/strong> Store \u0915\u0930 \u0938\u0915\u0924\u0940 \u0939\u0948\u0902 \u091c\u092c\u0915\u093f Session <strong>\u0905\u0927\u093f\u0915<\/strong> Data Store \u0915\u0930 \u0938\u0915\u0924\u093e \u0939\u0948\u0902 \u0964    <\/li><li>Cookies \u092e\u0947 data Get \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f <strong>$_COOKIE<\/strong> \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u091c\u092c\u0915\u093f Session \u092e\u0947 <strong>$_SESSION<\/strong> \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964 <\/li><li>Cookies \u0915\u093e Data <strong>Text Form \u092e\u0947 Store<\/strong> \u0939\u094b\u0928\u0947 \u0915\u0947 \u0915\u093e\u0930\u0923 \u092f\u0939 \u0909\u0924\u0928\u093e Secure \u0928\u0939\u0940\u0902 \u0939\u094b\u0924\u093e \u091c\u093f\u0924\u0928\u093e \u0915\u0940 Session <strong>\u0926\u094d\u0935\u093e\u0930\u093e encrypt \u0915\u0930 Store<\/strong> \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948 \u0964 <\/li><li>Cookies \u0915\u0947 \u0932\u093f\u090f <strong>Session<\/strong> \u0915\u0940 \u0906\u0935\u0936\u094d\u092f\u0915\u0924\u093e \u0928\u0939\u0940\u0902 \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u0932\u0947\u0915\u093f\u0928 Session \u0915\u0940 id \u0915\u094b <strong>Cookies \u092e\u0947 \u0939\u0940 Store <\/strong>\u0915\u0930 \u0930\u0916\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964 <\/li><\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>\u0906\u092a\u0915\u094b PHP Cookies \u0906\u0930\u094d\u091f\u093f\u0915\u0932 \u0915\u0948\u0938\u093e \u0932\u0917\u093e \u091c\u0930\u0942\u0930 \u092c\u0924\u093e\u092f\u0947 <\/p>\n\n\n\n<p>\u0905\u092a\u0928\u093e \u0915\u0940\u092e\u0924\u0940 \u0938\u092e\u092f \u0926\u0947\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0927\u0928\u094d\u092f\u0935\u093e\u0926 <\/p>\n","protected":false},"excerpt":{"rendered":"<p>PHP \u0938\u0947 \u0939\u092e Cookies \u0915\u094b \u092d\u0940 Manage \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 , \u0938\u092c\u0938\u0947 \u092a\u0939\u0932\u0947 \u0939\u092e \u092f\u0939 \u0938\u092e\u091d \u0932\u0947\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 Cookies \u0915\u094d\u092f\u093e \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u0964 Cookies \u0915\u094d\u092f\u093e \u0939\u0948\u0902? (What is a cookie in PHP?) Cookies data \u0915\u0947 \u0935\u0939 \u091b\u094b\u091f\u0947 \u092c\u094d\u0932\u0949\u0915 \u0939\u0948\u0902 \u091c\u093f\u0928\u0915\u094b \u0915\u0940 Web Server \u0926\u094d\u0935\u093e\u0930\u093e Browser \u0915\u0940 \u092e\u0926\u0926 \u0938\u0947 \u0906\u092a\u0915\u0947 Computer \u092a\u0930 Store \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4568,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-4531","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/10\/php-cookies.jpg?fit=1200%2C628&ssl=1","_links":{"self":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/4531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/comments?post=4531"}],"version-history":[{"count":47,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/4531\/revisions"}],"predecessor-version":[{"id":5189,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/4531\/revisions\/5189"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media\/4568"}],"wp:attachment":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media?parent=4531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/categories?post=4531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/tags?post=4531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}