Web Input Abstraction
23/33
Input Abstraction
Command line Input Abstraction
Usual Suspects
•
$_GET, $_POST, $_COOKIE, $_SERVER
<?php
if (
$ONLINE
) {
$userid
=
$_COOKIE
[
'userid'
];
$form
=
$_GET
;
$database
=
$_SERVER
[
'database'
]
}
?>