1.2.1346. Use Web

The code is used in web environment.

The web usage is identified through the usage of the superglobals: $_GET, $_POST, etc.

<?php

// Accessing $_GET is possible when PHP is used in a web server.
$x = filter_validate($_GET['x'], FILTER_EMAIL);

?>

1.2.1346.1. Specs

Short name

Php/UseWeb

Rulesets

All, Appinfo, CE

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

Very high

Available in

Entreprise Edition, Community Edition, Exakat Cloud