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

Awesome, this catches HostGator's PHP 5.3.3 (which isn't used by default, have to turn it on yourself) too. I knew there was yet another good reason for always casting expected-int input before doing anything with them... Something as simple as

    mysite.com/page/1 ===> $page = 1 ===> href="/page/' . $page + 1 . '">next page
could mess you up...


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

Search: