A really simple predictable Serial number generator in PHP and JavaScript