Update phpRewrite.php