How can we destroy the cookie?
Answers were Sorted based on User's Feedback
Answer / thoms
By providing past values.
for eg:
setcookie("name","value",time()-3600);
| Is This Answer Correct ? | 37 Yes | 6 No |
Answer / nikunj
By setting previous time for cookie, we can destroy it.
| Is This Answer Correct ? | 16 Yes | 6 No |
Why do we use polymorphism in php?
What is a static variable in php?
How easy is php?
What is member function?
What is $this in php?
What are php applications?
Are php sessions cookies?
what is abstrac class? why it is use?
What is the difference between echo print and print_r in php?
i was set new individual folder for saving session values,the folder name is session and i set 777 permission,using session.save_path function like session.save_path "/home21b/sub004/sc21311-ULCX/candyoflove.com/session/" but it causing Warning: Unknown(): SAFE MODE Restriction in effect. The script whose uid/gid is 12112/12112 is not allowed to access /home21b/sub004/sc21311-ULCX/candyoflove.com/session owned by uid/gid 12267/12267 in Unknown on line 0 ,please tell what changes make this script, i was using .htaccesss file..plz help me....
Write a program using while loop in php?
What type of errors can be occurred in php?