Tag: locator
-
PHP: Locator script
When asked to write a store location program in less than an hour, I developed this little utility. It uses my own MySQL class and clean() function which parses the POST/GET variables for any nastiness that might have occurred. include(‘includes/class.mysql.php’); include(‘includes/functions.php’); clean(); // Clean up $_REQUEST for SQL injection $mysql = new mysql(); $zip =…