Help me create a php script that uses cookies!?

franc

New member
I don't mean to be impolite but don't tell me cookies are not safe. Having said that I wanna create a php script that takes form data and then checks if the form is valid and whether the user has ever downloaded software in the last 20 days . And if the user has not downloaded software in the last 20 days the script should set a cookie and give users the link to download the software.

My problem is checking whether the users has previously downloaded the software by way of checking for the existence of a cookie in the users browser. I wondered if anyone could help me out. Please I got this assignment i got to submit tomorrow afternoon. I have spent the last eight hours trying to figure this out but i am now exhausted. I need help.
 
Back
Top