Skip navigation
: PHP with MySQL Essential Training
: PHP with MySQL Essential Training

PHP's setcookie function enables you to set cookie values with arguments for name, value, and expiration. You may want to keep a cookie for 24 hours, a week, or even 10 years. You submit expiration using a Unix timestamp, but this video shows that you don't need to deal with Unix because PHP uses the time function to set the Unix time stamp. Remember that hackers use cookies to trick your site, so always encrypt critical data in your MySQL databases.

  • Overview
  • Transcript
  • View Offline
Resume Transcript Auto-Scroll
Skill Level Beginner
14h 32m
Show More Show Less

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now