douqiao1887
2012-07-04 14:34如何在PHP系统调用中转义引号?
I'm passing to perl from php using escapeshellarg
system("perl -e '" . escapeshellarg($inp) . "' >> /tmp/out");
And get unterminated quoted string from perl.
Input is: 'Single quoted terminated string
';
- 点赞
- 回答
- 收藏
- 复制链接分享
1条回答
为你推荐
- 如何在PHP系统调用中转义引号?
- perl
- php
- 1个回答