This script is designed to not add any slashes. Because it uses the latest technologies, slashes are no longer required. If you still see slashes, then it is due to a setting on your server that automatically add slashes.


One common setting that is the cause of this is magic_quotes. Some hosts still prefer to keep this turned ON to prevent hacking. However, this setting is not longer necessary as of PHP 5 and it has been official deprecated and removed in PHP 5.4.


To determine if the magic_quotes is ON or OFF, create a php file then paste the following code into it and run that file:


<?php
if(get_magic_quotes_gpc()) {
  echo "Magic Quotes On";
}else{
  echo "Magic Quotes OFF";
}
?>

If Magic Quotes is ON, then you can do one of the following:

  • Turn it OFF, if you have a VPS
  • Contact your hosting company to turn it OFF for you

Premium URL Shortener 1.6

Please note that in that latest version 1.6, this issue has been fixed. In Core.php, you will notice a piece of code that automatically removes slashes when Magic_Quotes is ON. However, I strongly recommend you to disable it to prevent further errors.