Training, Open Source computer languages

PerlPythonMySQLTclRubyC & C++LuaJavaTomcatPHPhttpdLinux

Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
PHP Programming quiz, level Advanced, question 13
Question: How do you set a cookie up to persist for 1 day from the time you set it?
Answer 1: use the setcookie function, with a third parameter time()+86400
This was the CORRECT answer
Answer 2: use the setcookie function, with a third parameter time()+1440
Answer 3: use the setcookie function, with the second parameter time()+1440
Answer 4: use the setcookie function, with the second parameter time()+86400
Answer 5: use the cookie_update function, with a second parameter time()+86400
Answer 6: use the cookie_update function, with a second parameter time()+1440
Answer 7: use the cookie_update function, with the first parameter time()+1440
Answer 8: use the cookie_update function, with the first parameter time()+86400

This was a question from our quiz ... but we have now provided you with the answer (above) - we prefer to provide you with information rather than to puzzle you.
Lua
PHP
Perl
Java
MySQL
Python
Linux
Apache Tomcat
Apache httpd
C and C++
Tcl and Tcl/Tk
Hotel
Recent additions


© WELL HOUSE CONSULTANTS LTD., 2009: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 707126 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho