我正在尝试使用Delphi7连接server 2008中的数据库,我有一个包含数据库名称的数组arr_foo。我的脚本就是这样的: sql := 'SELECT * FROM sys.databases WHERE name = '+quotedstr(arr_fooadoconnection1连接到//192.168.5.211 (这是我的服务器)。
问题是,当我在delphi 7上运行上面的<e
(cPanel或DirectAdmin)所以我没有根访问权限,所以不能使用exec()或shell_exec()函数(被服务器管理阻止)。我认为如果我使用setTimeout('refresh()',1000),有一个更好的方法,而不是每1秒连接到聊天数据库。the session, if its true then refresh chat databasesetTimeout('refresh()',1000)
我使用了一个标志,因为我不想每1秒连接到数据库</em