Update url.php

Easy function to redirect back to the previous url
Merge pull request #42 from SecretD/patch-1

Update url.php