Running CSVUploadConsole.sh on PHP

Running CSVUploadConsole.sh on PHP

Hi,

Can anyone help me on this issue.

When i run CSVUploadConsole.sh on PUTTY or some SSH, it works perfect.

But when i want to run this on a PHP page it doesnt work. I get null.

Here is my code;

" shell_exec('sh CSVUploadConsole.sh mycsvfile.csv mydatabase mytable APPEND myuserforcrmreports -A myAuthKey')"

Note: i run my php page at the same folder with CSVUploadConsole.sh

Thanks,
Umut