osx - Run a string through PHP? -


how go processing string through system php?

i've tried doing firing nstask , feeding arguments /usr/bin/php results of php cli, isn't quite same thing — one, line breaks aren't quite right.

what i'd take string, run through php, , store result in string. kind of webserver.

is possible?


update have tried both -f , -r options of php cli, neither 1 of them gives me output i’m looking for.

i suspect php cli not correct approach here.

i able turn string containing php code string containing how code parsed web server php support.


Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -