EserciziEsercizi
Informatica - Scuola secondaria di secondo gradoInfo Training Volume Database Linguaggio SQL per il quinto anno

PHP and data access

4 esercizi
SVOLGI
INFO

Informatica

PHP and data access

Which of the following predefined variables contains the name of the server host under which the current script is executing?

A:

$_SERVER['SERVER_ADDR']

B:

$_SERVER['SERVER_NAME']

C:

$_SERVER['IP_ADDR']

D:

$_SERVER['REMOTE_SERVER']

Scelta multipla
1

Il punteggio di un esercizio è determinato dalla difficoltà: da 1 (più facile) a 5 (più difficile). Vuoi saperne di più?
Consulta il Centro assistenza

Informatica

PHP and data access

The correct syntax to perform a query in PDO extension is

A:

$conn->query($sql, $result);

B:

$conn->$sql = query($result);

C:

$result = $conn->query($sql);

D:

query($sql) = $conn->$result

Scelta multipla
1

Il punteggio di un esercizio è determinato dalla difficoltà: da 1 (più facile) a 5 (più difficile). Vuoi saperne di più?
Consulta il Centro assistenza

Informatica

PHP and data access

Which of these is the method to perform a query on a XML document?

A:

xmlnode

B:

xpath

C:

xmlquery

D:

xmlpath

Scelta multipla
1

Il punteggio di un esercizio è determinato dalla difficoltà: da 1 (più facile) a 5 (più difficile). Vuoi saperne di più?
Consulta il Centro assistenza

Informatica

PHP and data access

Which of these statements, related to server-side scripts, are true and which are false?

A:

Server-side scripts require that their language’s interpreter is installed on the server.

B:

Server-side scripts have greater access to the information on user’s browser than client-side scripts.

C:

The user’s browser executes the server-side script and then displays the HTML document.

D:

Server-side scripts are executed by the Web server when the user requests a document.

E:

SQL Injection is the insertion of malicious code in HTML forms that call the server-side script execution.

Vero o falso
1

Il punteggio di un esercizio è determinato dalla difficoltà: da 1 (più facile) a 5 (più difficile). Vuoi saperne di più?
Consulta il Centro assistenza