Thursday, November 23. 2006
A link to a quite amusing (?) video was posted on IRC today that is one of Zend's german PHP teaching videos. You can find it
here. It is supposed to teach PHP developers the usage of $_GET and $_POST.
Aside from wrong information like the statement that POST data is sent within an HTTP header, all their examples print the content of $_GET and $_POST directly to the output, producing nice little XSS vulnerabilities.
Quite amusing seeing these kinds of tips from a company offering PHP training and certification. Maybe the teaching material should cover the usage of htmlentities() or htmlspecialchars() in the future.