Saud Iqbal

SQL filter function script

Posted on 2016-09-20T06:00:00

Protect your input fields with this SQL injection prevention script.

// Filter SQL Injection
function filter($input,$type)
// Options: Text, Numbers, NumbersDash, TextArea
switch ($type)
// Plain text
case 'Text':
$input = preg_replace('/[^a-zA-Z0-9\s]/i', '', $input);

// TextArea
case 'TextArea':
$input = preg_replace('/[^a-zA-Z0-9\s\.\?]/i', '', $input);

// Numbers Only
case 'Numbers':
$input = preg_replace('/[^0-9]/i', '', $input);

// Numbers with Dashes
case 'NumbersDash':
$input = preg_replace('/[^0-9\-]/i', '', $input);

// Default
$input = ... read more.

PHP SQLite users online script

Posted on 2016-05-11T06:00:00

Do you want to count how many users are online right now on your website? This is the script for you. I wrote this script using PHP and SQLite. SQLite is just like using a flat file database. Lightning fast and easy to use. Shows last 15 minutes of online users. Download ... read more.

PHP SQLite hit counter script

Posted on 2016-05-04T06:00:00

PHP SQLite hit counter script

Basic hit counter written in PHP with SQLite database. SQLite is just like using a flat file database. Lightning fast and very easy to use. To create a backup just copy the .db file to your hard disk. Option to display hit counter in currency number format.

read more.

PHP directory script using flat file database

Posted on 2016-05-11T06:00:00

A free php directory script that lets you run your own link directory. It runs on text based database so there is no need of MYSQL database. Includes Image Verification and Link Rating. You can customize the design according to your requirements. No ads. Please note that this script is ... read more.