报错:Fatal error: Call to undefined function _phpForKoXHbKBqn6BHxAmysql() in C:\xampp\htdocs\ht\index.php on line 24
报错的代码:
//管理员登陆验证
if ($_GET['save22']=="save22") {
_phpForKoXHbKBqn6BHxAmysql();
$user = addslashes(trim($user));
$pass = trim($pass);
php.ini设置如下:
extension=php_bz2.dll
extension=php_curl.dll
extension=php_mbstring.dll
extension=php_exif.dll
;extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_gmp.dll
;extension=php_intl.dll
;extension=php_imap.dll
;extension=php_interbase.dll
;extension=php_ldap.dll
;extension=php_mssql.dll
;extension=php_mbstring.dll
;extension=php_exif.dll ; Must be after mbstring as it depends on it
extension=php_mysql.dll
extension=php_mysqli.dll
;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pdo_sqlite_external.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
请问怎么解决这个问题?
------解决方案--------------------
注释掉 set_magic_quotes_runtime()
你的php版本太高了,而你的程序又太老了
您的程序只适合php5.2.x及以下