I know this is a simple question, but I can't for the life of me get it to work. If I log in to my server via SSH (linux) and type in : /home/username/public_html/x/foo.cgi f=subscribe l=list [email protected] the script runs perfectly. However, if I try to run the script via PHP by the likes of : shell_exec("/home/username/public_html/x/foo.cgi f=subscribe l=list [email protected]"); nothing happens.
Can anyone point me in the right direction?
Thanks ahead of time!
Tre
foo.cgia php script? or just executable binary?