Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin


Renaming PHP Functions

Author:mike - Sat Jul 8 12:26:45 2006

web02:~# apt-get install php4-apd

In php.ini

zend_extension=/usr/lib/php4/20020429/apd.so
apd.dumpdir = NULL
apd.statement_tracing = 0

And then in your code:

rename_function('mysql_query', 'doquery');

function mysql_query($query) {
	doquery($query);
	echo "Der var en SQL-kommando her<br>\n";
}
Copyright(c) Unifix.org 2002-2011


Dashboard - News - Search - List - About - Admin
 
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk