Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要使用 exec 将简短但不可预测的字符串发送到脚本,但我不知道使用什么编码来发送它们。我尝试了base64,但这不起作用(猜测“=”与它有关)。有任何想法吗?
使用escapeshellarg()或escapeshellcmd()。
escapeshellarg()
escapeshellcmd()
value