PHP Q5
PHP Q5
1.a) Explain the detailed steps in testing and configuring PHP5 to use MySQL along with
TU
installation process.
b) How to set-up users and allow privileges to access MySQL data? [10+5]
3.a) What are parametrized functions and non-parameterized functions? Illustrate them with a
sample PHP script.
U
b) List and explain various functions to work with files through your PHP script. [7+8]
se
4. List and explain various array functions and math functions available in PHP with syntax
and example. [15]
d
5. How to process forms by the PHP script using $_GET and $_POST array elements?
Demonstrate with an example program in PHP. [15]
Pa
6.a) Differentiate between the following statements in PHP:
i) include vs require ii) include_once and require_once
b) How to include other files into your PHP documents? Illustrate the need and usage of
pe
include statement in PHP. [6+9]
7. Does GD library supports merging images and add watermarks into it? Explain these
operations in detail with brief illustration. [15]
rs
8. Summarize the three categories of MySQL data types with descriptions. [15]
---oo0oo---