开发者

Imagemagick ampersand in directory

开发者 https://www.devze.com 2023-01-05 10:58 出处:网络
I am converting images using imagemagick from php. I have a directory name that contains ampersand. When I issue a command from php using exec it does not work for the directory that co开发者_StackOve

I am converting images using imagemagick from php. I have a directory name that contains ampersand. When I issue a command from php using exec it does not work for the directory that co开发者_StackOverflow社区ntains ampersand (&) sign. Can anyone help me how to solve this problem? I can't rename the directory.

Thanks


Try enclosing the directory name in single-quotes. This should disable the special meaning of the ampersand.

0

精彩评论

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