Archive for September, 2009

php sessions and memcached

Posted in qwerty | No Comments »

most of you needing this feature already know of it, but hey it’s cool, easy and maintainable

resources: one, two and tree

fravælge matchgrupper i preg_match

Posted in qwerty | No Comments »

igen en post om ting jeg aldrig kan huske.

preg_match_all('~(?:/xyz/)?(.+)~', $subject, $matches);

her er du kun interesseret i at få sidste matchgruppe med i $matches, så derfor er første matchgruppe prefixet med “?:” – hvilket gør at det bliver ignoreret i selve resultatsættet.

google on web performance best practices

Posted in qwerty | No Comments »

it is not a new article, but it still holds true – and is really insightful