php 5.2.x instala debian squeeze gnu/linux -en

Gaur eguneko debian egonkorra: squeeze da eta bertako php bertsiñue php5.3.x duez… proba batzuk eitzeko php5.2.x instala bizandot orduen, eskerrak http://www.dotdeb.org/-ekueri .deb artxibuek dakuz prest instalateko: aptitude install apache2-mpm-prefork build-essential autoconf aptitude install automake1.4 libssl-dev libtool shtool aptitude install libcurl3 libdb4.6 libkrb53 libxml2 libreadline5 # i386 wget http://packages.dotdeb.org/dists/lenny/php5/binary-i386/php5-common_5.2.17-0.dotdeb.0_i386.deb wget http://packages.dotdeb.org/dists/lenny/php5/binary-i386/libapache2-mod-php5_5.2.17-0.dotdeb.0_i386.deb wget http://packages.dotdeb.org/dists/lenny/php5/binary-i386/php5-cli_5.2.17-0.dotdeb.0_i386.deb wget http://packages.dotdeb.org/dists/lenny/php5/binary-i386/php5-cgi_5.2.17-0.dotdeb.0_i386.deb wget […]

aptana / eclipse -n zelan topa espresiño erregularrak erabilitze

Aupa ba gaur haunegaz arazuegaz topa gara biarran, php-gaz biar itzen bazuien emongo zarie konture batzuk, tag laburrek erabiltzen dauiela tag luziek ordez: <? <?php ordez, gero klaro proiektue itsosupetekue badan, ba hasi banan banan tag-ak topaten… Bueno ba horretarako daku aptana / eclipse -n bilatzailie. Proiektuen gauzela: Ctrl + H emonda, haulako leidxo bat […]

php: Zelan jakin textue utf-8 badauen?

Eskerrak geure psicologo programadorieri: http://php.apsique.com/node/536 Neure kasuen bakarrik biher dot ia utf-8 badan, orduen ba kodigo zati bat bakarrik hartun got: function is_utf8($text) { $result = false; for($i=0; $i<strlen($text); $i++) { $byte = ord($text[$i]); if ($byte & 0x80) $result = true; } return $result; }