Warning: exec() has been disabled for security reasons
<p>I get this error on my page:</p>

<blockquote>
  <p>Warning: exec() has been disabled for security reasons in /home/a2297145/public_html/android/index.php on line 2036</p>
</blockquote>

<p>Here's the code:</p>

<pre><code>//
// Determine the size of a file
// 
public static function getFileSize($file)
{
    $sizeInBytes = filesize($file);

    // If filesize() fails (with larger files), try to get the size from unix command line.
    if (EncodeExplorer::getConfig("large_files") == true || !$sizeInBytes || $sizeInBytes &lt; 0) {
        $sizeInBytes=exec("ls -l '$file' | awk '{print $5}'");
    }
    return $sizeInBytes;
}
</code></pre>

<p>Can you help me to solve this?</p>
