PhalconPHP: alternative way to use Oracle11g

Develpoing a new website based on PhalconPHP i tried to use Oracle11g as database, but in the process i had some problem. Searching the web for solutions i read about some problem with the native Oracle PDO driver, so i tried “pdo-via-oci8” by Arjay Angeles . As done for MSSQL i tried to create an new Adapter and a new Dialect to let me use pdo-via-oci8 inside my PhalconPHP-based application. What …

WordPress Custom Mime Types

WordPress Media Library doesn’t allow you to upload any file you want, you are limited to a small set of types. With the plugin “WordPress Extra File Types” you extend the default list of file types adding more than 680 extensions, presented and selectable in a dedicated administration page found under “Settings” menu. Download . …

WordPress auto update for plugins and themes

Last releases of WordPress now allow the core to be fully auto-updated without spending time in manual operations. The same is not valid for themes and plugins, in fact you have to manually add code to enable this very useful feature for them. Here you can find a simple plugin that do this for you. Download .

WordPress Plugins

Here you can find a list of WordPress Plugins i’ve found useful. Advanced Custom Fields : create/modify custom fields to be used in pages and posts Google Tag Manager : simply include and configure google tag manager in your pages Shareaholic : insert social buttons in the pages  W3 Total Cache : contents and objects caching WordPress …

PHP Date

This PHP class let you manage dates, time intervals, timezone conversions and format conversions. Format supported are 3: – “db”  : yyyy-mm-dd – “ita” :  gg-mm-yyyy – “iso” : yyyy-mm-ddThh:MM:ss.000 This class contains also methods to use when your PHP installation is using 32bit integers and so you can fall in the “year 2038 bug”, now …

PhalconPHP: SQL Server Connector

During the developing of a PhalconPHP based web application i had the necessity  (it was a project constraint) to use MS SQL Server as database. I started looking around the web and i jumped into this project, but using it i had some problem with pdo_sqlsrv driver and i had to create something (not so much) different. The result …

PHP Mail

During my daily life as web developer i’ve always had the necessity to send email using PHP, after some time using PHPMailer i decided to create a wrapper (very simple) to it in order to: parse template files containing markers to create dynamic html content to use as email’s body send emails without having to createexplicitly an instance of …