佳礼资讯网

 找回密码
 注册

ADVERTISEMENT

查看: 991|回复: 0

connect mysql是出现的error msg (using perl-cgi)

[复制链接]
发表于 23-5-2006 04:08 PM | 显示全部楼层 |阅读模式
我写了一个cgi script 来connect mysql database, 但出现了这样的error:

Global symbol "$host" requires explicit package name at login.cgi line 42.
Global symbol "$database" requires explicit package name at login.cgi line 43.
Global symbol "$user" requires explicit package name at login.cgi line 44.
Global symbol "$db" requires explicit package name at login.cgi line 47.
Global symbol "$host" requires explicit package name at login.cgi line 47.
Global symbol "$database" requires explicit package name at login.cgi line 47.
Global symbol "$user" requires explicit package name at login.cgi line 47.
Global symbol "$db" requires explicit package name at login.cgi line 48.
Global symbol "$database" requires explicit package name at login.cgi line 48.
Global symbol "$pid" requires explicit package name at login.cgi line 50.
Global symbol "$db" requires explicit package name at login.cgi line 50.
Global symbol "%hash" requires explicit package name at login.cgi line 53.
Global symbol "$pid" requires explicit package name at login.cgi line 53.
Global symbol "$password_in_db" requires explicit package name at login.cgi line 55.
Global symbol "%hash" requires explicit package name at login.cgi line 55.
Global symbol "$password_in_db" requires explicit package name at login.cgi line 58.
Execution of login.cgi aborted due to compilation errors.

请问有人能告诉我是什么问题,非常谢谢你们的帮助!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

 

ADVERTISEMENT



ADVERTISEMENT



ADVERTISEMENT

ADVERTISEMENT


版权所有 © 1996-2023 Cari Internet Sdn Bhd (483575-W)|IPSERVERONE 提供云主机|广告刊登|关于我们|私隐权|免控|投诉|联络|脸书|佳礼资讯网

GMT+8, 11-11-2024 10:35 PM , Processed in 0.115752 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表