How can I pass in a .txt file from bash script to a PHP process. I am trying as below but I have had no luck and help so far.
echo "$some100linestring" | tee log.txt
php /path/to/php/job.php --log_string=log.txt
Can someone please help. Thanks in advance.