Help to integrate Shell script with PHP


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Help to integrate Shell script with PHP

I have a shell script which takes user name and server name from the user and check the authentication type on that server like LDAP or VAS or local. It also provides various other info also such as owner of the ID and etc.
I need this script to work on the browser where user can directly input the values and get the output. For this I need to integrate my shell script with php or cgi.
Please help me in integrating it as I have not much idea in php.
# 2  
I think you can use exec PHP function to run your script.
Don't forget to make it executable using chmod +x ./script.sh
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
How to integrate all the systemctl commands into a shell script to verify any daemon/agent service?
Mannu2525
Hi, Can we integrate all the systemctl command into a shell script to verify any service with all the options of systemctl if service integrate with the operating system service management tools to deliver their functionality. sudo systemctl start <service_name> sudo systemctl stop...... Shell Programming and Scripting
1
Shell Programming and Scripting
How to Integrate DropBox in PHP Web Application?
AimyThomas
Hello, I am PHP web application developer and I am working on a web app php, html based. But due to client requirement they want to save database backup on a Dropbox account. Is there a way to do that? Thanks in advance... Programming
1
Programming
Again integrate files - bash script
patrykxes
I wrote script in bash which generates this report "users.csv": I wrote script in bash which generates this report "groups.csv" I want to integate two reports: "users.csv" and "groups.csv". I want like so that "result.csv":... Shell Programming and Scripting
2
Shell Programming and Scripting
Bash script - integrate two files
patrykxes
I wrote script in bash which generates this report "users.csv": I wrote script in bash which generates this report "groups.csv" I want to integate two reports: "users.csv" and "groups.csv". I want like so that "result.csv": Thx... Shell Programming and Scripting
5
Shell Programming and Scripting
Integrate PHP + Unix commands
karthikn7974
Hi I am using fedora 4, its only for desktop usage. its in gui mode. the system is always on and in login screen. whenever a particular user logins in, aphp page inside the system should run. The user should not be able to view the desktop. The user has the info in the php webpage to work...... UNIX and Linux Applications
1
UNIX and Linux Applications