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

I used to do this with my flat file PHP files, but then I started using a framework. I suggest you do too.

Kohana (PHP Framework) has pretty good URL rewriting resembling RoR's. /controller/method/variable. (/user/edit/1005 would reference application/controllers/user.php, class User_Controller, function user(1005).) POST/GET/PUT/etc are retained.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: