我收到以下错误消息。oracle 应该使用哪些其他压缩函数(SHA1 除外)?
警告:oci_execute() [function.oci-execute]:ORA-00904:“SHA1”:第 2 行 /user_auth_fns.php 中的标识符无效
$result = oci_parse($conn, "select * from user where username='$username' and passwd = sha1('$password')");
$r = oci_execute($result);
if (!$r) {
$error = oci_error($conn);
echo "Could not log you in." . $error['message'];
exit;