Make Linux Application for Users Run PHP Scripts?
Thursday, July 29th, 2010 at
14:36
So I want to let users run certain programs in Ubuntu that run already built-in PHP scripts. I already have the scripts and everything, I just need something that users can put there Username and Password into lets the built-in PHP script do its stuff. Is there any way possible?
Tagged with: php scripts • ubuntu
Filed under: Linux Applications
Like this post? Subscribe to my RSS feed and get loads more!
Install php-cli. This allows PHP scripts to run from a shell. Then just code a shell script to run which PHP scripts you need. If you want your users to have a GUI, try out kdialog for a simple and easy GUI interface. I see no reason that a user would need to enter his or her username/passwd though. Just be sure all your scripts have 0755 permissions.