Ok, so I'm a self-taught PHPer, born and raised on a steady diet of internet tutorials and php-builer.com. I'm a sophomore in college now, and just had my first day of my first non-c++ programming class, entitled: Web Programming (with html, javascript, and server-side programming).
I figured I'd be way ahead of the class, having built some pretty full-scale websites using PHP before.
However, the prof. was talking about web security, and "the sin of ommission," as he put it, and referred to how easy it was for someone to totally screw you over via your contact form, or pretty much any other web form if you don't check the value. As an example, he wrote something on the board like this:
;rm rf /
Now, I actually don't speak Unix very well, but I know that that has something to do with recursively deleting everything I own, although maybe not with that exact command.
Is this true? Are all of my sites completely vulnerable to malicious people who might do this? How can I make sure people don't throw stuff like this into my forms? I'm feeling awfully paranoid right now. Does anyone have any advice for me?