How to write and read files from php
This is a simple and basic example about how to write and read files from php, this code shows you the minimal use of fputs() fclose(), fopen().
Read the rest of this entry »This is a simple and basic example about how to write and read files from php, this code shows you the minimal use of fputs() fclose(), fopen().
Read the rest of this entry »Function to create dinamically a valid INSERT INTO SQL instruction, using an array as any parameter and iterating over him to extract the name and values to use it as field names and field values. This function uses pg_send_prepare and pg_send_execute php built-in functions and shows in a detail how to use them.
Read the rest of this entry »Como ser un mal programador. Por el geek, para amador. Relataré la historia de mi actual trabajo y evidenciaré cruélmente al desarrollador, invitando al mundo a que no le dé trabajo. Estoy muy alterado, me he tenido que fletar horas extra leyendo el código de programación en VB6 (desarrollado por una persona inepta y falta [...]
Read the rest of this entry »