satishgaudo.com

Understanding technology

Archive for May, 2010

Tuning LAMP systems, Part 2: Optimizing Apache and PHP

Here is an link from digg.com, Tuning LAMP systems, Part 2: Optimizing Apache and PHP Tuning LAMP systems, Part 2: Optimizing Apache and PHP

7 May 2010 at 10:47 - Comments

Detailed Guide On Arrays In PHP

Here is an link from digg.com, detailed guide on arrays in php Detailed Guide On Arrays In PHP

7 May 2010 at 10:43 - Comments

Script to Generate an array of hierarchical node tree

Consider the file “list.txt” below containing two columns parent id and child id separated by “space” on each row That is the source for data for computation: list.txt 0 1 1 2 2 3 0 4 4 5 0 6 6 7 Below is the script for getting an array of the hierachical node tree tree.php <? $l = file(”./list.txt”);

$list = array();

for ($i = 0;$i < count($l); [...]

6 May 2010 at 14:14 - Comments