Search Results

Search: Posts Made By: robbee
9,970
Posted By robbee
Passing variables from bash to php-cli
Hello everyone,

I've been looking how to pass variables between bash and php-cli in 1 file. So far i got this:


#!/bin/bash
echo "This is bash"

php << EOF
<?php
echo "This is php\n";
?>...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 10:35 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy