Saturday, February 12, 2011

Statistici trafic web, localizare geografica:

Informatii trafic web, localizare geografica, monitorizare statistici site-uri in paralel pe acelasi grafic, monitorizare grupuri de site-uri. Poti alege statisticile Google Analytics pe care vrei sa le faci publice: - statistici trafic web.

Sunday, February 6, 2011

Wednesday, February 2, 2011

Nested ob_start (output buffering)

PHP supports nesting ob_start() elements. This is a very new discovery. :) And a pleasant one. :)

echo 'abc...';
$c1 = ob_get_contents();
echo 'def...' . $c1;
$c2 = ob_get_contents();
echo $c2;

PHP Manual:
Output buffers are stackable, that is, you may call ob_start() while another ob_start() is active. Just make sure that you call ob_end_flush() the appropriate number of times. If multiple output callback functions are active, output is being filtered sequentially through each of them in nesting order.

The fast lane