if your server runs apache and supports mod rewrite, then all you need to do is make a file named
.htaccess and place it in your web root directory.
Code:
RewriteEngine on
RewriteRule ^cabin/[0-9]+)$ cabin.php?id=$1 [L]
sometimes mod rewrite doesn't like it when you name a directory the same as your script ( i don't know why ) so you may have to rename cabin.php to cabin_rw.php ( or something other than cabin.php )
if you are going to send '05' instead of just '5' , then you may have to modify the var passed in with php as well.