Informatica - Scuola secondaria di secondo gradoSystem System / Volume Sistemi Informativi Aziendali B per il quinto anno

Web server and PHP - Quiz

3 esercizi
SVOLGI
INFO

Informatica

Predefined variables

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

Server-side scripts

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:

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

C:

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

D:

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

Informatica

The correct syntax

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