Hi,
I have written a shell script and one of the steps of the shell script is to run a php file. Now I have a variable in my shell script called $path which has some value. Now what I would like to do is to pass this value to my php file which I am calling from my shell script. My shell script name is installer.sh and my php file name is installer.php. Here is some part of my shell script
Code:
#!/bin/bash
echo "blah blah"
#get the value
$PATH="/usr/local"
#call the php file
php installer.php