Virtual Private Networks can be very handy, but even with easy-rsa scripts it’s a little time taking to add new computers to the network, especially if you frecuently add new machines.
With this handy php script you can automate this process a little bit - you could for example publish it on a web server and [...]
Entries Categorized as 'php'
automating openvpn configuration with php
July 21, 2010
Custom configuration files in CakePHP
September 19, 2008
In order to speed up our development process and following the DRY rule we always try to split our code in reusable modules. Then when creating a new project we just get them one by one and add to the current code. Its pretty easy and efficient (now we can spend this time on adding [...]
Copy messages from a Thunderbird mbox file to a MySQL table using php
July 1, 2008
If for some reason you would like to copy your messages from Thunderbird to a MySQL database, here you can find a simple PHP script which will do it for you! All you have to do is to set some variables in the php class and create a proper database table. Let’s start with the [...]
Servidor MMS (mensajes multimedia) en PHP
May 7, 2008
El otro día he encontrado este interesante proyecto de servidor de mensajes multimedia escrito en el php. Gracias a él podemos enviar archivos multimedia directamente desde nuestro móvil al servidor web y a coste de conexión a internet que suele ser bastante menor que el de envío de mms.
El sistema parece que funciona bastante bien, [...]
Socket Server en PHP
April 29, 2008
Hace poco necesitaba un sistema de comunicación en “tiempo real” para un proyecto no comercial que estoy haciendo y estaba curioso si se podía hacer un simple servidor de sockets en php.
Claro, el php no sea quizás el lenguaje ideal para este tipo de cosas, pero quería tener algo donde podría reutilizar fácilmente el código [...]
Envía mensajes al dbus desde el php
April 25, 2008
Aparentemente con el módulo midgard_dbus, podemos enviar mensajes desde un script php a otras aplicaciones que que se conectan a dbus.
hay un ejemplo aquí:
http://blogs.nemein.com/people/piotras/view/1207652141.html
esto permitiría una comunicación instantánea entre los scripts php y por ejemplo alguna aplicación de escritorio (si lo recuerdo bien por ejemplo skype usa dbus para comunicarse con sus plugins)
¿Cuántas cosas chulas [...]
Posted in


