The below code will automatically redirect any traffic from http://www.scriptplazza.com to https://scriptplazza.com.
↳ Added by admin on December-22-2016
In your functions.php file, paste the following code to change the WordPress excerpt length. You may change the number (99) to any value as you wish.
↳ Added by admin on June-6-2014
With following snippet you can remove or replace all special characters from a string.
↳ Added by admin on September-16-2013
PHP Constants and Variables can be Insecure if not used properly. Below is an example code that demonstrates how a script may be compromised when register_globals directive is turned ON. The example was taken from security.globals.php:
↳ Added by hamdusa on June-13-2013
5 ways to check if an integer is even or odd. PHP does not provide any mathematical function like is_even to help you check if a given integer is an Even number or Odd. Writing your own such function is not difficult and below are listed a number of alternatives that provide different logical solutions to do this.
↳ Added by hamdusa on June-1-2013
If you are using service like CloudFlare or other CDN service and you want to block or allow some IP(s) from your website add following snippet in your .htaccess file.
↳ Added by admin on April-13-2013
If you have more than one banner that you want to display on your site in random order use following snippet.
↳ Added by admin on January-2-2013
With the following snippet you'll be able to better target IE, Firefox, Chrome, Safari and Opera from within the css.
Use the following snippet If you need a really simple and basic cross-browser tooltip for your site.
With the following snippet you can to create Blurred Text Effects in CSS3.