Coding, tech, videogames and stuff
July 26, 2011
X-SendFile is a header that can be sent from a scripting language like PHP, Python, Perl, Ruby via ...
April 2, 2011
Analogously to my other two projects of general utilities for D and PHP that I'm updating from time...
January 28, 2011
I had pending for a long time already to record a video with the talk about Pixel Bender shaders ...
August 13, 2010
This can be useful for example to extract the elements from an enum in PHP using a SHOW COLUMNS. In...
July 14, 2010
One of the PHP interesting features are reference handling. As it is known, in PHP trying to access...
June 2, 2010
Working with database results as if they were objects allow to work intuitively and convenient wat....
June 1, 2010
Even if PHP is not the greatest programming language to work with binary files, in some circumstanc...
January 18, 2010
class A { const CONSTANT = 'A'; function __construct() { echo constant(get_c...
October 20, 2009
Remove all the spaces from the start and the end of each element from an array (array_map): $array...
July 19, 2009
Sometimes I had interest into creating a class that would contain simply a few attributes and no muc...
July 17, 2009
phpSTE cover Now that I got Internet working again, I'm continuing with my projects, and I have co...
July 6, 2009
phpSTE (PHP Simple Template Engine) is a template engine I have started today. It is light, fast a...
May 20, 2009
// Previous month: date_create(date('Ym01'))->modify('-1 day') // This month: date_create(d...
May 5, 2009
$i = imagecreate(1000, 1000); $c1 = imagecolorallocate($i, 0x00, 0x00, 0x00); $c2 = imagecol...
Sometime ago I did a sample of a minirpg using JavaScript, then an online port using flash with a ...
April 25, 2009
Ya se puede usar GLSL en phpmedia: Ejemplo: http://phpelegante.googlepages.com/phpmedia_t...
April 24, 2009
http://phpelegante.googlepages.com/nave_shoot.7z ...
April 21, 2009
I have done a small sample using phpmedia 2: http://code.google.com/p/phpmedia/wiki/SampleNave ...
April 20, 2009
At some moment 5 years ago, I did a PHP extension that allowed to make 2D multimedia applications...
April 16, 2009
Since PHP 5.2, there are a couple of new functions called json_encode and json_decode that allows ...
August 30, 2008
Introduction: It is pretty frequent that we want to separate the text content of our websites from...
March 31, 2008
Since PHP 5.1 we have spl_autoload_register (since PHP 5.0 we are able to define __autoload funct...
May 27, 2004
parse_str_packet is a function that I have createed specifically for the ragnarok's bot I'm doin...