Get current PHP API

One method to know if the script being executed has been started through cli, apache or any other API is to use PHP_SAPI:
if (PHP_SAPI != 'cli') { ... }
will ensure that the script is executed in a command-line context before doing what's inside the brackets.

Geolocation in Firefox 3.5 and the outcomes for geocaches/cistes

Firefox 3.5 just came out and, within a bunch of improvements and new stuff, we can find a geolocation implementation. What's that? Che Hodgins explains that on his blog with an example. If I had to define it in a few words, my definition would be "it's a feature that makes it possible for a website to ask your location to your browser". Now, the thing is that, obviously, many new great cell-phones have both a GPS and a browser integrated. And this means...

Descrubriendo la XO/OLPC

Como lo he mencionado antes, D0keos Latinoamérica acaba de recibir un prestamo de 6 XO para el desarrollo de un proyecto de integración D0keos-OLPC. Este articulo es el reporte de lo que estoy descubriendo, para que sirva a los demás.

Las XO corren Fedora

[olpc@xo-4B-D2-A3 ~]$ cat /etc/redhat-release OLPC release 9 (Joyride) [olpc@xo-4B-D2-A3 ~]$ uname -a Linux xo-4B-D2-A3.localdomain 2.6.25-20090223.1.olpc.69098d87d56945c #1 PREEMPT Mon Feb 23 13:37:03 EST 2009 i586 i586 i386 GNU/Linux [olpc@xo-4B-D2-A3 ~]$ cat /proc/version Linux version 2.6.25-20090223.1.olpc.69098d87d

BPC - Blackboard to be replaced by Moodle in one institution

The LMS Evaluation Commitee of the University of North Carolina at Charlorte just published the results of a 5 quarters survey about the implementation of Moodle to replace their current BlackBoard Vista. Although I don't particularly like Moodle (mostly because our users find it much more complicated to use than Dokeos), there are two things that I really liked in the results from this report (and I'm sure there are loads of other interesting data in there if you keep your eyes opened)

Como cargar un PDF en un iframe y que funcione en IE y Firefox

Hola a todos, Dokeos tiene una herramienta llamada Lecciones(en idioma español),en la cual se añade una serie de items(pasos),estos items pueden ser links,foros,trabajos,documentos,etc...,el problema que tuve fue al añadir documentos con PDF,ya que cuando hacía un refresh éste documento no cargaba en el iframe... Debido a que wordpress no deja escribir codigo php y algunas etiquetas html,escribí el post en un documento word...PDF_EN_IFRAME_CON_FIREFOX </body></html>