[Typo3-dev] Typo3 and shell exec function

Dardo Guidobono dardoguidobono at gmail.com
Mon Sep 20 20:43:15 CEST 2004


many hosting companies restrict de use of shell functions using this
configuration:
safe_mode = Off
but they disable shell_exec() exec.. an all the functions related to
shell functions

so.. we cant use exec() function .. but i still can use the backtit operator
so i propose to change the exec() function and use the backtit

instead using exec($command,$ret);
use..
$res=`$cmd`;
$ret=split("\n",$res);

if you want i will send the patch.

Thanks Dardo.





More information about the TYPO3-dev mailing list