I made a little script for you:
Add to .htaccess:
Code:
RewriteRule ^room/([^/]+)$ ./room.php?room=$1
Add to client.php(Make sure you don't have 2 times the same line so search first and delete the old one)
Code:
"forward.type" : "2",
"forward.id" : "<?php if(isset($_GET['roomid'])){echo $_GET['roomid'];}?>",
Create a file room.php and place in that:
Code:
<?php
if (isset($_GET['room'])) {
header('Location: http://yourhotellink/client.php?roomid='.$_GET['room'].'');
}
?>
Don't forgot to change yourhotellink before you save it.
Not tested so post if it doesn't work.
- Maartenvn