Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

   $username = InputSanitizer::getInstance()->getPostData('username');
There. Now it's OO ;P.


I would rather use Java in that case.


Your wish is my command.

    $username = array();
    exec('java sanitize.class ' . escapeshellarg($_POST['username']), $username);




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: