Topic: Scripting

Regex for Twitter Username in JavaScript

  • Dec 3, 2018
  • 20 Views
  • 0 comment

Learn to validate twitter username using Regular Expression (regex) in JavaScript.

Readmore →

Regex for Twitter Username in PHP

  • Dec 2, 2018
  • 167 Views
  • 0 comment

Learn to validate Twitter username for you application using PHP snippet.

Readmore →

Sanitizing Integer Value with Filter Var

  • Sep 18, 2018
  • 195 Views
  • 0 comment

In one of my previous post, I discussed how validate integer variable. However, I recently came across some weird issue while sanitizing an integer. Not sure why its happening like...

Readmore →

Retrieve Simple JSON API Data in PHP

  • Jul 23, 2017
  • 701 Views
  • 0 comment

Today I will share a simple PHP script to show how you can retrieve API data using PHP. For demonstration purpose I will use freegeoip.net public API to grab information...

Readmore →

Validate Integer in PHP

  • Jun 17, 2017
  • 632 Views
  • 0 comment

Learn to Validate a Variable as an Integer in PHP language.

Readmore →

Disable Right Mouse Click for HTML5 Elements

  • May 29, 2017
  • 630 Views
  • 0 comment

Learn to Disable Right Mouse Click on Various HTML5 Elements using jQuery snippet.

Readmore →

Calculate the Sum of Values of an Array

  • Sep 4, 2016
  • 1193 Views
  • 0 comment

Learn to sum up the values of an Array.

Readmore →

Data Serialization on PHP

  • Sep 3, 2016
  • 888 Views
  • 0 comment

Learn to serialize and unserialize data in PHP

Readmore →

Setup Default Timezone in PHP

  • Jul 13, 2016
  • 996 Views
  • 0 comment

If you are developing a PHP based website, or working on your custom PHP driven CMS that will interact with MySQL or any other database chances are there that you...

Readmore →