Page 1 of 1

how to use a string to set a cookie using a date format

Posted: Mon Feb 16, 2004 1:32 pm
by THUGBUDDHA
hi ppl i'm looking for a solution 2 a php exercise:

- for example if this is our page http://eda2.inf.ulusofona.pt/
how should i set a cookie in that adress using (SAT 15 FEB 2004) format for the string "date"..?
and how can i delete that cookie?

need help for a school work...
help neede really quick

Posted: Mon Feb 16, 2004 5:08 pm
by DuFF
#1. That link doesn't work

#2. We aren't going to do your homework for you

Go crazy:
http://www.php.net/manual/en/function.setcookie.php
http://www.php.net/manual/en/function.date.php