Explain setcookie() function in php?
Answer / Manoj Kumar Sharma
The setcookie() function is used to create, modify, or delete cookies in PHP. It sets a new cookie and sends it back to the user's browser. The syntax for setcookie() is: setcookie('name', 'value', time() + (86400 * $expire), '/');
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between required and require_once in php?
Is false empty php?
what is the dirrence in PHP4 & PHP5 . ?
Can anyone explain about join?
Why php 7 is faster?
Tell me what is the difference between exception::getmessage and exception::getline?
What is the difference between $message and $$message ?
Is php good for career?
What is the use of "enctype" attribute in a html form?
How to create a public static method in PHP?
How check submit button is clicked in php?
What is the difference between characters and #?