Jester22 Posted April 6, 2007 Share Posted April 6, 2007 Hi i can not find anything on the net on how to link a HTML gui (which controls iptables) to bash using php. Any help would be great. Thanks Jester Quote Link to comment https://forums.phpfreaks.com/topic/45928-linking-bash-and-php/ Share on other sites More sharing options...
trq Posted April 8, 2007 Share Posted April 8, 2007 You can execute bash (or other external apps / scripts) from within php using exec. Quote Link to comment https://forums.phpfreaks.com/topic/45928-linking-bash-and-php/#findComment-223909 Share on other sites More sharing options...
the_oliver Posted April 8, 2007 Share Posted April 8, 2007 Your bash scrip could be run via cron, using variable got from a database? Also can help with security, as you limmit whats being run by your web engin! Quote Link to comment https://forums.phpfreaks.com/topic/45928-linking-bash-and-php/#findComment-224527 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.