Tag Archives: php

Raspberry Pi Ideas

Posted in Linux, Uncategorized | Tagged , , , , , , , , | Leave a comment

Archlinux Chroot

Posted in Linux | Tagged , , , , , , , , , , | Leave a comment

Jaxon: Call PHP classes from JavaScript using AJAX

Posted in IT development, Z1 | Tagged , , , , | Leave a comment

Raspberry Pi as a Stratum-1 NTP Server

This is something I found: http://www.satsignal.eu/ntp/Raspberry-Pi-NTP.html Essentially it requires pairing a Raspberry Pi with a NTPI Raspberry Pi GPS addon board On the software side of things you need rpi_gpio_ntp

Posted in IT development, Z1 | Tagged , , , , | Leave a comment

PHP Tips

Object oriented introspection property_exists(obj,prop_name) method_exists(obj,method_name) is_a(obj,’clas_name’) or ($obj instanceof ClassName) Dynamic coding Call a method: call_user_func(array($obj,’method’,…args…) You can simply $obj->prop = value to add properties. or you can use __set and __get. See http://php.net/manual/en/language.oop5.overloading.php varargs func_get_arg(num) func_get_args() func_get_num_args()

Posted in IT development, Linux, Web, Z1 | Tagged , , , | Leave a comment


Metabase in Freecode Metabase is a DBMS-independent PHP API to access SQL databases. It supports MySQL, PostgreSQL, Oracle, Microsoft SQL server, Microsoft Access, ODBC, Interbase, Informix, MiniSQL, and SQLite. It supports nested transactions, blobs, and prepared queries. It can install … Continue reading

Posted in IT development, Z1 | Tagged , , , | Leave a comment