I have a script that resizes called “resize”
Here is the script:
<?
echo exec('resize');
?>
This page is located in my /var/www/site/resize.php
the resize command is located in /bin/resize and it is owned by root with permission mod 777
However, the command is not being executed. Please let me know what I need.
I have also tried using the absolute path to the resize script
echo exec('/bin/resize');
Try the backtick operator ` or shell_exec()