Scriptbaker
SCRIPTBAKERAI & Software Engineering
Blog category

Engineering Articles

7 articles on Engineering, newest first.

All blog articles
Engineering

Lamudi.pk Real Estate Growth

There are several online real estate portals running in Pakistan, a couple of them have captured the market and leading the industry. In such a scenario it’s ha

April 11, 2016 · 5 min read
Engineering

My 3 Days Trip to Swat, Malam Jabba and Kalam

Pakistan is a land of natural beauty and has been blessed with the abundance of awe-inspiring outdoor areas. From the unspoiled golden beaches,across the desola

April 11, 2016 · 5 min read
Engineering

Random string generator

Learn how to generate random strings in PHP with a simple, reusable function. This guide explains how the generator works, how to create strings of different lengths, common use cases, and secure alternatives using random_bytes() and random_int() for authentication tokens and other security-sensitive applications.

June 15, 2014 · 5 min read
Engineering

Trigger Google conversion on some event

Normally Google conversion code is added in header or footer of the “Thank you for your purchase” pages. A conversion is logged when someone lands o

June 15, 2014 · 5 min read
Engineering

MySQL calculate hours since row created

Learn how to calculate the number of hours that have passed since a MySQL row was created. This guide explains how to use TIMESTAMPDIFF() with created_at, compares it with DATEDIFF(), and covers practical examples for calculating hours, minutes, seconds, and records older than a specific time period.

June 03, 2014 · 5 min read
Engineering

Add custom menu item for WP subscribers panel

Learn how to add a custom menu item to the WordPress admin panel that is visible only to subscribers. This tutorial covers add_menu_page, capability checks, rendering custom page content, and tips for keeping your admin UI clean and role-appropriate.

April 10, 2012 · 6 min read
Engineering

Disable Browser's Back button

Learn why you can’t truly disable the browser Back button using JavaScript and how to properly manage app state using the History API, popstate, and bfcache instead.

September 14, 2011 · 5 min read