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 Intermediate, question 7
Question: You can set a cookie (if the user is accepting them)
Answer 1: From within your PHP page; you can set a cookie at any time if your server is configured to buffer your output, but you can only send it before any regular (HTML) data is send to the browser if your server is configured to NOT buffer (see php.ini)
This was the CORRECT answer
Answer 2: From within your PHP page, but only before it send out any data to the browser.
Answer 3: From instructions held in the php.ini file
Answer 4: From within your PHP page, at any time
Answer 5: From within your PHP page, but only after you've completed sending out the body of the response page.

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