A very simple example of how to create slugs in PHP and a simple ajax confirm display as you type.