Our free stuff
PHP Scripts → Turing number
Archive contents :
- create_table.php :
run it once to create the data table.
- l_db.php :
parameters + connection to the db
- l_gen.php :
creates the picture
- l_form.php :
form script
- GNUGPL.txt :
The GNU General Public License :)
Required : PHP and MySQL
Based on : IMAGE CRYPTÉE DE PROTECTION POUR FORMULAIRE WEB, by matrey : http://www.phpcs.com/code.aspx?ID=13359
and published with the author's authorization
How to get it work :
1. Enter your database informations in l_db.php
2. Run create_table.php to create the table
3. Edit l_form.php to add whatever you want (login form...)
/*************************************************************************
* *
* This script generates and checks a turing number *
* *
* Copyright (C) 2004-2005 PatheticCockroach <http://www.mpam3.fr.st> *
* Revision #2 *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2, or (at your option) *
* any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the Free Software *
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *
* You can also provide yourself with an online copy of the text: *
* <http://www.gnu.org/copyleft/gpl.html> *
* <http://www.gnu.org/copyleft/gpl.txt> *
* *
*************************************************************************/
Download