Hacker News new | past | comments | ask | show | jobs | submit login

This always reminded me of PHP’s infamous register_globals. For those unfamiliar, anything in the ‘$_REQUEST’ array (which itself comprises of $_POST, $_GET, and $_COOKIE merged together) is added to the global scope. So if you made a request to index.php?username=root, $username would contain “root” unless it was explicitly initialized it before it was used.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: