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 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. 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! Link to comment https://forums.phpfreaks.com/topic/45928-linking-bash-and-php/#findComment-224527 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.