How to check whether cookies are disbled or not in the
browser ? If that is the case how do you handle the
sessions ?
Answer / srikanth
If output exists prior to calling this function, setcookie()
will fail and return FALSE. If setcookie() successfully
runs, it will return TRUE. This does not indicate whether
the user accepted the cookie.
http://in2.php.net/manual/en/function.setcookie.php
| Is This Answer Correct ? | 2 Yes | 1 No |
What is api laravel?
Which framework is best for php development?
What is local variable in php?
Write a function that takes "depth" as argument and return sum of node's data of that depth. For instance, (0) depth 0 / \ (10) (20) depth 1 / \ (40) (50) depth2 If I pass get_sum_by_depth(2) , it would return 90 (i.e. 40 + 50 )
How to list all values of submitted fields?
Questions on OOP concepts 1. What are the access specifiers available in php ? Explain 2. What is object cloning ? 3. What are the differences between interface and abstract class ? 4. What is overloading ? 5. What is overriding ? 6. How to prevent function overriding ? 7. What is the use of "final" keyword ? 8. What is static variable ? How will access a static variable ? What is static class ?
How to make database connection in php?
i'm b.com graduate and doing MCM- 1year(Master in Computer Management. i'm very interested in PHP? Please tell me some suggetion and the scope of PHP in the market. My E-mail pawan.register@gmail.com Thanks & Regards Pawan.
Can the value of a constant change during the script's execution?
What is the use of htmlentities in php?
What is difference between single quotes and double quotes in php?
How can I prevent sql-injection in php?