Search found 1 match

by eternityseeker
Mon Aug 30, 2010 12:34 pm
Forum: PHP - Code
Topic: How to save HTML form values to cookie using PHP?
Replies: 0
Views: 81

How to save HTML form values to cookie using PHP?

i have written a php code that saves a cookie containing a certain value then another cookie to retrieve that value, like that: <?php $inTime = 60 * 60 * 24 * 60 + time(); $txt = date("D, M/d/Y")." ".'never been here'; setcookie('mylastvisit',$txt ,$inTime); ?> <?php if(isset($_C...