1.2.1355. Use Web¶
The code is used in web environment.
The web environement 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.1355.1. Connex PHP features¶
1.2.1355.1.1. Specs¶
Short name |
Php/UseWeb |
Rulesets |
|
Exakat since |
0.8.4 |
PHP Version |
All |
Severity |
|
Time To Fix |
|
Precision |
Very high |
Available in |