I'm struggling to understand the difference between shell_exec()
and exec()
...
I've always used exec()
to execute server side commands, when would I use shell_exec()
?
Is shell_exec()
just a shorthand for exec()
? It seems to be the same thing with fewer parameters.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…