3 ms·
Unfortunately, PHP is the one scripting language that doesn't have direct exec() support! escapeshellarg() is the only tool they give you and it requires you to
by __david__ 5y ago
Unfortunately, PHP is the one scripting language that doesn't have direct exec() support! escapeshellarg() is the only tool they give you and it requires you to not shoot yourself in the foot. Even perl has multi arg system() that execs directly.
- pilif 5y agothere is pcntl_exec for that. Unfortunately it can be (and often is) disabled and thus not widely used.