LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 772|回复: 1

为什么在命令行中可执行,而在php网页中浏览时又不能执行呢?

[复制链接]
发表于 2005-8-3 21:35:44 | 显示全部楼层 |阅读模式
[root@shlinux A07]# ls -l /public/public/mqload
-rwxrwxrwt  1 root root 115 Aug  3 20:14 /public/public/mqload*
[root@shlinux A07]# cat /public/public/mqload
use excell ;
load data local infile '/public/public/petersaveu8.csv' into table `fm033` fields terminated by ',' ;


[root@shlinux A07]# mysql < /public/public/mqload
是可以的..

可是在
php文件中
`mysql < /public/public/mqload` ;

它就是不执行呢..为什么,请教了.
发表于 2005-8-4 09:13:03 | 显示全部楼层
权限吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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