Page 1 of 1

php & cgi

Posted: Fri Jan 09, 2004 12:13 am
by tushar
hello every one
i am fresher in PHP's ok i have a very evry simple problem.
i have Linux as server.
i have a cgi which takes some parameter and give me a file output.
Now when i call this Cgi from a php with the same parameters then i get the EACCES error the open function failes i have given rights i.e all rights to every user evrey group and admin i ahev rwx access for all for the php also.I am using the exec function from php to run the cgi.
Please Please sombody help me.

Posted: Fri Jan 09, 2004 12:56 am
by m3mn0n
Don't double/cross post. This question is most suitable here, and it will be answered with time. Have patience. :)

Posted: Fri Jan 09, 2004 8:16 am
by Pyrite
I'm not sure you can call CGI's directly like that. I thought CGI's had to be called from a form using the action parameters or from a hyperlink?

Why not post your script.