• 主页

php

delete cookies in php

<?php

// SET THE expiration time to one hour ago

setcookie("visitor", "", time()-3600);
?>

output :

it deletes "visitor" cookie , here no message displays for security

Email This BlogThis! Share to X Share to Facebook
Sunday, February 24, 2013

Blogger templates

Blogger news

Blogroll

Archives

  • ▼  2013 (219)
    • ►  December (26)
    • ►  November (19)
    • ►  October (23)
    • ►  September (16)
    • ►  August (13)
    • ►  July (25)
    • ►  June (18)
    • ►  May (18)
    • ►  April (8)
    • ►  March (19)
    • ▼  February (22)
      • For removing content of a directory - subdirectory...
      • print_r() in php
      • File Upload if File Exists Append Number to File N...
      • PHP Operator Types
      • VBA writing in a text file
      • PHP installation
      • delete cookies in php
      • Installing CPAN modules in perl in linux.
      • PHP File Inclusion
      • Subhajit Das | PHP Developer | PHP Programmer
      • Assignment #2 Modified.
      • Writing oracle procedure.
      • Simple Ajax Example
      • insert data into table in php with mysql
      • rand() in php
      • Send Email Using SafSendMailV2
      • Free php pdf tutorial
      • Get in between text using SafGetInBetweenText
      • ckeck ip address is in blocked list or not in php
      • codeigniter routing issue fixation - url rewriting...
      • Best Free PHP IDE
      • Array to Single Variable
    • ►  January (12)
  • ►  2012 (231)
    • ►  December (19)
    • ►  November (21)
    • ►  October (17)
    • ►  September (13)
    • ►  August (17)
    • ►  July (18)
    • ►  June (20)
    • ►  May (21)
    • ►  April (22)
    • ►  March (26)
    • ►  February (19)
    • ►  January (18)
  • ►  2011 (212)
    • ►  December (22)
    • ►  November (18)
    • ►  October (10)
    • ►  September (20)
    • ►  August (17)
    • ►  July (22)
    • ►  June (23)
    • ►  May (16)
    • ►  April (11)
    • ►  March (15)
    • ►  February (21)
    • ►  January (17)