php & cgi

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
tushar
Forum Newbie
Posts: 2
Joined: Fri Jan 09, 2004 12:13 am

php & cgi

Post 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.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Don't double/cross post. This question is most suitable here, and it will be answered with time. Have patience. :)
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post 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.
Post Reply