Home > PHP & Programming > Quizzes > Advanced PHP Practice Test: Methods
Advanced PHP Practice Test: Methods
Fast practice, instant feedback. Timer auto-submits when time’s up.
Avg score: 56% Most missed: “The....-method produces a long string that appears in your server logs, in the b…”
Advanced PHP Practice Test: Methods
Time left 00:00
25 Questions

1. The GET method is restricted to send upto......characters only Sol:
2. ......-A query string is the string of key=value pairs separated by & symbol and appended to URL after ? symbol. For example, http://localhost/testscript?name=xyz&age=20 URL returns trailing query string.
3. Before the browser sends the information to the server , it encodes it using a scheme called URL.
4. The..........method cannot be used for passing sensitive information like usernames and passwords.
5. GET method supports only string data types while......-method supports different data types, such as string, numeric, binary, etc
6. ......is a superglobal that holds information regarding HTTP headers, path and script location etc.
7. The PHP provides..........associative array to access all the sent information using POST method.
8. There are two ways the browser client can send information to the web server. The GET Method & The POST Method
9. After the information is encoded it is sent to the server Spaces are removed and replaced with the + character and any other non alphanumeric characters are replaced with a hexadecimal values.
10. Use POST when you need the server, which controls URL generation of your resources Sol:
11. PHP $_POST is a PHP super global variable which is used to collect form data after submitting an HTML form with method='post'. $_POST is also widely used to pass variables
12. If you use......method, the browser appends the data to the URL Sol:
13. The....-method sends the encoded user information appended to the page request. The page and the encoded information are separated by the ? character
14. Never use....-method if you have password or other sensitive information to be sent to the server.
15. PHP......is a PHP super global variable which is used to collect form data after submitting an HTML form with method='get'.
16. ......has a limitation on the length of the values, generally 255 characters Sol:
17. ..........requests can be used only to retrieve data Sol:
18. GET method supports only string data types while....-method supports different data types, such as string, numeric, binary, etc
19. By the used of......-method You can keep the data private. Sol:
20. The....-method produces a long string that appears in your server logs, in the browser's Location
21. ......-Name of server hostunder which the current script is executing Sol:
22. ........can't be used to send word documents or images. Sol:
23. Never use GET method if you have password or other sensitive information to be sent to the server.
24. There are two ways the browser client can send information to the web server. The ............-Method & The.......... Method
25. ......-This property of array returns The IP address of the server under which the current script is executing.