LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   pass php variables to shell script (http://www.linuxquestions.org/questions/programming-9/pass-php-variables-to-shell-script-625771/)

viveksnv 03-04-2008 10:28 PM

pass php variables to shell script
 
Hello all,

How to pass php variables in to script?

<?php
$a = "Hello";
?>


how to invoke the php variable $a in script.

bash scripting.

chrism01 03-04-2008 11:46 PM

Try the system() fn: http://au2.php.net/manual/en/function.system.php


All times are GMT -5. The time now is 05:45 AM.