Hi all
Am new to php, here's what am stuck at:
I have a simple executable script file, lets say XYZ, for linux which needs two arguments (a & b) to be passed while executing. This script also calls another file which lies in the same folder. So this thing works perfect if I run script XYZ separately from the command prompt:
root@server# XYZ a b
All I need to do is to call this script XYZ inside php code. I've tried exec(), shell_exec(), system() but no result. these fundtions are working fine if I try to run basic commands like "ls -l" etc. Am working on Centos 5.2, tried changing the ownership of script files, permission in files but no use.
ANY IDEA......????
thanks
Noman