Skip navigation.

my php-driven thoughts

about web and something more

bug hunting

, ,

yes. today i hunted down about >20 bugs. They were hiding in places i couldn't foreseen as their hide-out. It was kinda fun. Although some of those bugs were very advanced and could be called features, but from user-end it was more of a bug, than a feature.

Thank God no possible xss or sql-injection attacks. Just unfinished business with some data formating and query optimisation. Tweaked lots of classes for data insertion and display. Had a bit of a headache with html_entities(), htmlspecialchars() and str_replace(). But everything seems fine now...

You know, i never liked working with forms for users (read: idiots; no offence, of course). I mean - how hard can it be to write simple text to some input boxes and text areas, mark some checkbox'es or radio buttons and then hit submit? And God, forbid the errors. You know, i think i'll write a warning note saying: 'If you will not follow the rules for entering the text/whatever you will get shocked by the chair you're sitting on!'. Then i will add css style with media="aural" and embed the sound of evil laughter.

When user has form with > 3 input fields and he submits wrong data - he gets redirected to the form page again, but with empty text field values! And there you go again and again, messing with templates, code snippets and debugging global variables.

Oh, and i got to convince me again, that register_globals are ULTIMATE EVIL while being on. It's good to have good sys-admin doing everything you ask him for. Go him!

For the end of the working day i think i'll stay put with my firefox toolbar project. Thank you and have a nice day!

fast switch (tm)some news

Comments

medutis 16. March 2006, 09:25

please, write more about that FF plugin

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.

January 2010
S M T W T F S
December 2009February 2010
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30