Archive for ‘ Php

25 Oct 2009

Mashup: put your Google Analytics Data inside a Gadget Posted by Insane in Google, Java, Php | No responses

- - The acuracy of the data is probably one of the most challenging aspects of the web analysis , on these days to know how to interpretate that data is quite vital for almost every person involved with the web.Google Analytics (’GA’ from now on ) has become one free powerfull tool to track your web [...]

Tags:, ,

18 Sep 2009

Google Spreadsheet + Php + Mysql = Sincronización Posted by Insane in Google, Google Spreedsheet, Mysql, Php | No responses

Insipirado en este post de Chris Teso el siguiente tutorial propone una forma de crear una sincronización entre una Hoja de Google Spreadsheets y una tabla dentro de MySQL. Requerimientos Crear y guarda una hoja de calculo en Google Docs y pon nombre en la parte superior de las columnas que utilizaras ( ejemplo ) . Descarga el Standalone Gdata [...]

25 Jun 2009

Beautifull php exceptions Posted by Insane in Php | No responses

Una manera de notificar los errorres del interprete de una forma nice (creo). function _myErrorReporter(){ $template = file_get_contents('my_errors.phtml'); die(str_replace('%str_err%',$e,$template)); } set_error_handler(create_function('$x, $y', 'throw new Exception($y,$x);'), E_ALL & E_NOTICE & E_WARNING); set_exception_handler(create_function('$e', _myErrorReporter($e); '));

Tags:,