A. ADDR_IP
B. ADDR
C. IP_ADDR
D. REMOTE_ADDR
19. You are creating a simple form for web users to send you a message. Which method should be used with that form?
A. POST
B. GET
C. SEND
D. READ
20. Within your PHP script, you are performing a division operation on two variables. What data type is assigned to the division result, by default, if it is a fractional result?
A. integer
B. double
C. string
D. Boolean
21. Which mode of the fopen() function opens a file for reading or writing, maintains exiting content, and places the file pointer at the beginning of the file?
A. w
B. a
C. r+
D. w+
22. Which function can be used to copy a file?
A. copy()
B. clone()
C. rename()
D. repr()
23. Which of the following is used to set a cookie to expire 24 hours from now?
A. $cookie_expire = time() +24
B. $cookie_expire = time() +1440
C. $cookie_expire = time() +86400
24. Which character is used as a statement terminator to indicate the end of a PHP command?
A. =
B. #
C. |
D. ;
25. Which of the following commands will initialize the $days array?
A. $days = ()
B. $days = array();
C. $days = ""
D. $days = initialize [ ]
E. 12345
F. 12,3,45
G. 1{2,3,4}5
26. What function can be used to see if a file exists?
A. file()
B. file_there()
C. exist_file()
D. file_exists()
27. To create a cookie, your code uses the following entry: SetCookie ("user", "Emmett Dulaney", time() +1800); Which of the following is the best to use to see the value "Emmett Dulaney"?
A. $user
B. $COOKIE[user]
C. $_COOKIE[user]
D. $COOKIE_user
28. Which of the following should be used to combine two or more existing arrays?







