Category Archives: Php

How to run php inside a bash script

Yes…you CAN run a php script inside a bash script. (or any other programming language actually, inside a bash script). The syntax is shown below. Now I’m not sure that it’s always wise to do that, but it’s interesting that you can do that ๐Ÿ™‚ I actually needed the output of a php script insideโ€ฆ Read More »

Auto indenting php/html files with vim

Auto indenting php/html files with vim Not really hard once you know how ๐Ÿ™‚ :set ft=phtml gg=G Vim is pretty cool, and can do some really interesting stuff if you take the time to learn how ๐Ÿ™‚