SELECT `id` FROM {$type_table} WHERE `postType` = 'post' AND date_publish BETWEEN date_start AND date_end ORDER BY `views` DESC LIMIT 3
shell_exec('sh /tmp/testsh.sh');
shell_exec('/bin/sh /tmp/testsh.sh');
error_reporting(E_ALL);
ini_set('display_errors',1);
ls -la /tmp/testsh.sh
mysql -u root -h localhost -p database < database.sql