开发者

mysqldump fails because there is a space in the directory name. Doze issue

开发者 https://www.devze.com 2022-12-15 01:20 出处:网络
Not sure whether to post this in Apache, PHP or MySQL but I\'m having an 开发者_如何学编程issue with the path as I am feeding into a mysqldump command. There is a space in my path and that is what is

Not sure whether to post this in Apache, PHP or MySQL but I'm having an 开发者_如何学编程issue with the path as I am feeding into a mysqldump command. There is a space in my path and that is what is causing me grief. I know it needs to be quoted but no matter how I try and quote it, I either get PHP errors or mysql errors telling me that the path cannot be found. Can someone give a hand?


I got it. All I did was to concat some quotes around the string.


See escapeshellarg.

0

精彩评论

暂无评论...
验证码 换一张
取 消