Author Archives: Piotr Zaniewicz

Suhosin and maximum $_POST variables limit

I had a problem of more than 200 $_POST variables in one of my php scripts. Something was limiting the script not to process more than 200 in the $_POST array. After unsuccessfully trying to find some info about how … Continue reading

Posted in Web | Tagged , , , , , | 2 Comments

Suhosin – customize php security

I was trying to configure my virtualhosts to have different php options regarding shell access. After some research I came up with Suhosin solution, which solved problems with setting disable_functions per virtualhost. Look it up!

Posted in Web | Leave a comment

“Formulate and stamp indelibly on your mind a mental picture of yourself as succeeding. Hold this picture tenaciously. Never permit it to fade. Your mind will seek to develop the picture.” — Norman Vincent Peale, Author

Posted in General | Leave a comment

Skiing 2008

I just uploaded some fresh pictures from skiing in Hochsoelden, Tirol, Austria. Also you will find some pictures from Schwangau, Hohenschwangau and Neuschwanstein. Yes I was writing these names from memory 😉 Have a look, they are great.

Posted in General | Leave a comment

Getting the Spanish N.I.E. – social security number for foreigners

Just recently I obtained the Numero de Identidad de Extranjero, which allows me in Spain to get a job, buy a car/house etc. Very important number if you want to live in Spain for a longer time. The number you … Continue reading

Posted in School | Leave a comment

ATI Radeon XD 2400 XT

UPDATE thanks to Hendrik: Acer has released a new driver pack, which should work for XP. I got a laptop Acer Travelmate 6592 with ATI Radeon HD 2400 XT. After a few whiles of using Vista I decided to go … Continue reading

Posted in Win | 9 Comments

A php function to return random values

I was looking for a method in php that would return unequal numbers using the rand() function. I found an answer on php.net and all credit goes to alishahnovin at hotmail dot com. The method is as follows: function randiff($min, … Continue reading

Posted in Web | Tagged , , | 1 Comment

Stardust

I have just watched a movie called Stardust and I am greatly impressed by it. An unknown actor to me – Charlie Cox shows some great acting skills and makes a firm leading role. Movie was entertaining, full of wit, … Continue reading

Posted in Movies | Leave a comment

localhost.customs or localhost:1001

Well, just recently I discovered an error in my Apache2 log file saying: 127.0.0.1 – – [17/Sep/2007:20:10:32 +0200] “GET /” 400 466 Well, that is a SSL log, so I am working to figure out what it really is… Ok, … Continue reading

Posted in Linux | Leave a comment

Using wget to download all *.rar over ftp

Today I read a news about Helion.pl releasing a Polish version of Wikipedia on a DVD and providing a download possibility as well. Having a 8Mb line I decided to get it. Handy came a wget command: wget -c “ftp://ftp.helion.pl/wikipedia/*.rar” … Continue reading

Posted in General | Leave a comment