Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tricks to running a shell script from a web php program?

Status
Not open for further replies.

BobMCT

IS-IT--Management
Sep 11, 2000
756
US
I have a php prog that delivers a prompt for an event. The parameters entered when submitted are used to start a job on the linux server which is a bash shell script. For the most part I've got this working. But I'm running into some permissions issues.

Hopefully some of you apache(2.2.11) guru's have done this in the past and would be willing to share your tips and techniques as to how to get this to run effectively?

Thanks in advance.
 
& be very careful to authenticate & sanitise your input!
improperly implemented this [del]could[/del] would be a major security risk.


A Maintenance contract is essential, not a Luxury.
Do things on the cheap & it will cost you dear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top