linux - Share data between bash and php -
we trying create project run on linux. want see results browser. want use php not sure how share data between 2 environment. dont want use mysql or other dbms not use ram 1 or 2 data.
so question is; "we want share 1 or @ 2 data between bash , php. how can without third party application or server ?"
thanks answers baris
i assume have bash script , want run php , handle output in way. php has several functions accomodate that.
the backtick operator example in php docs is:
<?php $output = `ls -al`; echo "<pre>$output</pre>"; ?>
Comments
Post a Comment