Blog Archives

String StartsWith and EndsWith in PHP

The following are a simple implementation checking whether a string starts or ends with another string in PHP. Note that we need triple equals sign (===) since strpos() may return FALSE, while FALSE == 0 is actually TRUE. The above

Tagged with: , , , , ,
Posted in PHP

Online Store Locator using PHP, MySQL and Google Maps API

Where is the closest McDonalds? This tutorial shows how to build a map-based locator for searching the closest stores. We will use PHP and MySQL for the backend and JavaScript with Google Maps API for the front end. Setup the

Tagged with: , , ,
Posted in Web

Web Information System

A web information system uses (1) the web browser to deliver services, (2) the web server to process requests, and (3) the Internet to communicate between clients and servers. Such a system is built on top of other software systems:

Tagged with: , , , , , , ,
Posted in Web