bug hunting
Monday, March 6, 2006 2:47:22 PM
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!










