Update PHP server files

Now it will return posts in order.