Spread Firefox!
Although i'm still reading CSS, The definitive Guide, i bought Essential CVS, also from O'Reilly. This book explains the essential commands to use CVS, as well as how to manage repositories etc.
Als Americaan zou ik niet graag mijn volgend paspoort gaan halen. Daarop zou immers een RFID-chip opzitten. Daarmee kan men dan aan de grens automatisch je gegevens lezen. Maar niet enkel aan de grens kan men die gegevens lezen. Eigenlijk kan men ze gewoon overal lezen, als je maar over een RFID-lezer beschikt. En vermits de techniek in de toekomst ook in alle supermarkten, magazijnen, .. zal gebruikt worden zouden er dus wel eens h??l erg veel mensen kunne te weten komen wie je bent en waar je bent...
Tweakers.net - Nieuws [ Amerikaanse paspoorten krijgen RFID-chip ]
FoxTrot: Binary Numbers :-) (via)
En dat betekent dat ik eindelijk m'n blogchalk mag aanpassen :D
Die blogchalk gaat er overigens af eenmaal de redesign eraan komt, maar verwacht die zeker niet voor al te snel ;) Hoewel ik er wel meer en meer zin in krijg nu ik het boek Cascading Style Sheet: the definitive guide van Eric Meyer ben aan het lezen
While i was testing Eclipse (at school we use IntelliJ, but hey, that's not Open Source ;) ), I came accross PHPEclipse. As you know (or don't know) Eclipse is more then just a Java IDE. It is a complete Platform and Framework to create IDE's. The PHPEclipse uses Eclipse to create a complete IDE for (you can't guess it ;) ) PHP. When I was reading the install-docs for PHPEclipse they mentioned WAMPP in it, as the distribution for Apache+PHP+MySQL. After searching a bit I found it: XAMPP (WAMPP was the previous name for the windows specific distro)
XAMPP is a distribution, available for Linux, Windows and Solaris for people that want to run Apache with PHP and MySQL (and other things like filezilla FTP etc), but don't like configuring all the different apps.
Using XAMPP (on windows) is really easy:
- first download the zip or, like i prefer the 7-zip file (44Meg for the zip while only 19Meg for the 7-zip clearly proves the quality of 7-zip imho).
- Unzip it …
Yesterday, while after playing with the php.ini files etc to
write my previous article i decided to play some more. This time to get
my pages served with content-type UTF-8
, which is a lot better then serving it as, by example, ISO-8859-1
. I already knew this could be done by adding AddDefaultCharset utf-8
to your .htaccess file, but on my server this resulted in an internal
server error. But since my ISP changed some of the settings on the
server a few days ago (it now uses phpsuexec) i hoped it would work.
Besides i leanerd that i could also try to use a php.ini file.
To test things i wrote 4 little testcases that should all display some special characters, that are just as plain text in the files (so whithout using character entities):
- TestCase1:
This page is served without any information about the character
encoding so it uses the default of the browser. In Firefox this is
ISO-8859-1
, so you'll get some ugly characters instead of …
When a php script requires write access to a
file or directory (like Nucleus does for the 'media'-directory if you
want to be able to upload pictures etc), you have to chmod that
directory (or file) to 777 (or 666 for files) on most servers. This
gives world write access to this folder (file). This is because on most
servers apache (and php) runs as user 'nobody'.
Although giving world write access will make it possible to use the
script, it also means a security hole, which can be used by hackers and
other riff-raff.
To avoid this security hole some ISP's install phpsuexec on their servers (like mine did a few days ago). Using phpsuexec php runs under your own username on the server. This removes the necessity to make files and folders world writable. Instead you can just use 755 for folders (the default) and 644 for files (also the default).
But using phpsuexec has some other consequences: some statements in your .htaccess file will result in an …
Voor de mensen die regelmatig hun bestanden niet meer terugvinden op hun computer (bij deze groep van mensen hoor ik raar maar waar eigenlijk niet bij), heeft Google zijn volgende (killer app?) programma klaarstaan: Google Desktop Search. Het programma indexeert alle bestanden op je pc (behalve degenen die je liever niet ge?ndexeerd ziet), zodat je helemaal in Google-stijl vanuit je browser kan zoeken naar je verloren bestand. Lijkt me ?cht h??l erg gebruiksvriendelijk!
Google Desktop Search Download