How can I invoke a php variable within a shell scripting language? For example, from within my shell script and I have a php block in that shell script file. Now I want to use a php variable in shell script. anyone can help me?
maybe you can integrate php cli (command line). You can run php in a dos box / unix command line like this
php -r 'echo "hello!";'
hope that helps
adam
Or you can use PHP as a shell scripting language (or at least call a PHP program as if it were a shell script). See, e.g., http://www.phpbuilder.com/columns/darrell20000319.php3?aid=28