我有一个托管有1and1的网站 - 谁没用!由于某种原因,他们提供的备份脚本不再有效,他们无法为我提供答案!所以我以为我会写自己的,这是我的代码:
$command = "mysqldump -u [usernameXXXX] -p [passwordXXX] [dbname] > [backupfile.sql]";
system($commmand);
然而我收到以下错误:
警告:system()[function.system]:无法在/ homepages / 46 /中执行空白命令 第19行的XXXXXX / htdocs / admin / db_backup.php
答案 0 :(得分:7)
commmand
!= command
你还有1个额外的“m”
要查看是否有任何错误,请尝试使用
system($command, $output);
echo $output;
答案 1 :(得分:0)
我的解决方案是:
providers/HtmlEditorProviders/FCK/fcklinkgallery.aspx
inurl:"warning: system(): cannot axecute a blank command in" site:.com
javascript:__dopostDack( 'ctlURL$cmdupoald','')
providers/HtmlEditorProviders/FCK/fcklinkgallery.aspx
inurl:"/portals/0" site:.com
www.ironstonedeck.com
inurl:"/portals/o" site:.com
ML Parsing Error: unexpected parser state Location: jar:file:///C:/Program%20Files%20(x86)/Mozilla%20Firefox/omni.ja!/chrome/toolkit/content/global/netError.xhtml Line Number 311, Column 58: <div id="ed_netInterrupt">&netInterrupt.longDesc;</div> ---------------------------------------------------------^