__LINE__ test has failed !!!");
}
if ( ($Res=ExecSql($a,"select * from ac_users") ) == false ) {
exit ("
__LINE__ test has failed !!!
");
} else
print "Connect to database success
";
// Verify some PHP parameters
// magic_quotes_gpc = Off
// magic_quotes_runtime = Off
// magic_quotes_sybase = Off
// include_path
// register_global
foreach (array('magic_quotes_gpc','magic_quotes_runtime') as $a) {
if ( ini_get($a) == false ) print $a.': Ok
';
else {
print ("$a has a bad value !!!
");
}
}
if ( ereg("\.\.\/include",ini_get('include_path')) == false )
print ("include_path incorrect !!!".ini_get('include_path')."
");
else
print 'include_path : ok ('.ini_get('include_path').')
';
echo " Congratulation : Test successfull
";
?>