Hi all,
Please tell me where is the cookie file stored in my computer when i run the below codes..
I checked it in the C:\
<?php
setcookie("test","john_joseph",time()+ 3600);
?>
<html>
<body>
<form name="cookie" method="post" action="<?php echo $_server['php_self'];?>">
Enter ur name:<input type="text" name="name">
<input type="submit" name="submit" value="SUBMIT">
</form>
<?php
if (isset($_COOKIE["test"]))
echo "Welcome " . $_COOKIE["test"] . "!<br />";
else
echo "Welcome guest!<br />";
?></body>
</html>
Thanks in advance