Kaamos Posted March 2, 2010 Share Posted March 2, 2010 Hi guys..one question. can you enable the exec on te server? pls i need it :/ Link to comment Share on other sites More sharing options...
Byron Posted March 2, 2010 Share Posted March 2, 2010 Please do me a favor and spell out your words. No the execute is disabled system wide. What do you need it for anyway? Link to comment Share on other sites More sharing options...
Kaamos Posted March 2, 2010 Author Share Posted March 2, 2010 Heliohost has disabled: # Bz2 # dBase # Magic Quotes # MM # SNMP # WDDX and exec(), shell_exec(), proc_open(), and system(). therefore i have poblem with my script.. i get the error: Warning: exec() has been disabled for security reasons in... my question is: can you kindly enable this? sorry for my bad english i hope you have understand. thanks & regards. Link to comment Share on other sites More sharing options...
Byron Posted March 2, 2010 Share Posted March 2, 2010 Just like the error message says, we don't allow those functions because of security reasons. Sorry! Link to comment Share on other sites More sharing options...
gumdrop Posted May 30, 2010 Share Posted May 30, 2010 Hello, I'm new here. Thank you for the free hosting. Does your server support Magento? From the sound of this post, it does not. Link to comment Share on other sites More sharing options...
X`Ray Posted May 30, 2010 Share Posted May 30, 2010 Hey there, i read this topic, and i need the exec() for my modulesystem to execute the sql files on the server, it is the esiest way, but if that wouldn't going to allowed, i need another possible methode to run sql files on the server, if a new module need to add new tables class base_mainmodule { protected $sqlobj = NULL; public function __construct($sqlobj/*SQL Adapter*/,$parms/*Array*/ = null) { $this->sqlobj = $sqlobj; } public function installSQL($modulename/*string*/, $file/*string*/) { $dbhost = $this->sqlobj->gethost(); $dbuser = $this->sqlobj->getuser(); $dbpass = $this->sqlobj->getname(); $db = $this->sqlobj->getdb(); if ($dbpass != '') { $cmd = '/usr/bin/mysql -h '.$dbhost.' -u '.$dbuser.' -p '.$dbpass.' < '.$file; } else { $cmd = '/usr/bin/mysql -h '.$dbhost.' -u '.$dbuser.' < '.$file; } exec($cmd,$out,$retval); } public function configSQL(); //Fills the Table with initialvalues public function installXML(); //Saves the Module information in the Main config File public function cache(); //Cache some informations } Link to comment Share on other sites More sharing options...
Byron Posted May 30, 2010 Share Posted May 30, 2010 This support request is being escalated to our root admin. Link to comment Share on other sites More sharing options...
Ashoat Posted May 30, 2010 Share Posted May 30, 2010 Sorry - we won't be able to provide that. Link to comment Share on other sites More sharing options...
Recommended Posts