Explore topic-wise MCQs in Php.

This section includes 6 Mcqs, each offering curated multiple-choice questions to sharpen your Php knowledge and support exam preparation. Choose a topic below to get started.

1.

When you use the $_POST variable to collect data, the data is visible to.

A. one
B. nly you
C. veryone
D. elected few
Answer» C. veryone
2.

When you use the $_GET variable to collect data, the data is visible to.

A. one
B. nly you
C. veryone
D. elected few
Answer» D. elected few
3.

*/*_Which variable is used to collect form data sent with both the GET and POST methods??

A. $BOTH
B. $_BOTH
C. $REQUEST
D. $_REQUEST
Answer» E.
4.

_ When you use the $_POST variable to collect data, the data is visible to.$?

A. none
B. only you
C. everyone
D. selected few
Answer» C. everyone
5.

When you use the $_GET variable to collect data, the data is visible to.$?

A. none
B. only you
C. everyone
D. selected few
Answer» D. selected few
6.

The attack which involves the insertion of malicious code into a page frequented by other users is known as.

A. basic sql injection
B. advanced sql injection
C. cross-site scripting
D. scripting
Answer» D. scripting