Home  >  Article  >  Backend Development  >  MySQL universal query program implemented by merry lonely christmas php

MySQL universal query program implemented by merry lonely christmas php

WBOY
WBOYOriginal
2016-07-29 08:36:291067browse

if(get_magic_quotes_gpc()==1){
?>

MySQL Universal Query Program

Pay attention to this The program needs to set magic_quotes_gpc
in the PHP configuration file (php3.ini for PHP3, php.ini for PHP4) to Off or 0. Please restart Apache after modification.


< ;?
exit();
}
set_magic_quotes_runtime(0);
$host = 'localhost';
$db = 'test';
$user = 'test';
$pass = '';
// [ php/inc/str2url.php ] cvs 1.2
function str2url($path){
return eregi_replace("%2f","/",urlencode($path));
}
?>

MySQL Universal Query Program


Please enter the SQL statement: