Php: Difference between revisions
Jump to navigation
Jump to search
Adamcolton (talk | contribs) Created page with " cat /var/log/apache2/error.log Category:Notes Category:Code" |
Adamcolton (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
== Error Log == | |||
cat /var/log/apache2/error.log | cat /var/log/apache2/error.log | ||
== JSON == | |||
json_decode($str, true); | |||
json_encode($obj); | |||
The true makes it associative. | |||
[[Category:Notes]] | [[Category:Notes]] | ||
[[Category:Code]] | [[Category:Code]] | ||
Revision as of 18:16, 4 December 2015
Error Log
cat /var/log/apache2/error.log
JSON
json_decode($str, true); json_encode($obj);
The true makes it associative.