mysqldump fails because there is a space in the directory name. Doze issue
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.
精彩评论