run linux shell script with PHP

RegisterLogin
run linux shell script with PHP
Post Description: Want To Know How To Invoke A Linux Shell Command Script Using A Php Script File So I Can Run In The Background
Tags: Run, Linux, Shell, Script, With, Php
This Post Was Posted On Feb 08, 2010 By James23 #3122
want to know how to invoke a linux shell command script using a php script file so i can run in the background. i know invoking a shell script is possible but i just can't imagine how. do you have any suggestions?
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
webune
#3435 1
how about trying something like this:

<?php
exec("/path/to/script.sh -u $user_name");
?>
Feb 08, 2010 Reply Report abuse
©2011 Webune Forums - Sun Dec 18, 2011 4:52 pm
Powered by: Webune Forums V3