problem1. Briefly describe open source technologies, outlining the difference between open source technologies and free technologies.
problem2. List four advantages of using open source technologies.
problem3. describe how PHP can be used to address the problem of HTTP being stateless.
problem4. describe each of the following string functions below, illustrating your answers with simple exs:
(i) strlen()
(ii) strpos()
(iii) str_replace()
problem5. describe how the most common syntax errors occur in PHP, illustrating your answer with sample codes.
problem6. Describe the two methods used to retrieve information from web forms using PHP.
problem7. Describe two different kinds of arrays that PHP uses. Give an ex script of each array type.
problem8. prepare the scripts to do the following in PHP:
(i) Create a cookie
(ii) Delete a cookie
problem9. The form below contains an input text box for a user to enter his name and a group of radio buttons to select his gender. prepare the PHP script to print the user’s name and a welcome message depending on his gender:
For males – "Sports items on special offer"
For females – "50% discount on handbags"
problem10. Describe two types of looping statements in PHP, and illustrate each statement with an ex.