|
Posted by Steve on 10/18/06 15:05
".:[ ikciu ]:." <no@mail.com> wrote in message
news:eh5ed5$onq$1@news.dialog.net.pl...
| Hmm Steve <no.one@example.com> wrote:
| > my SITE will not crash. the *only* way to fuck up this page is to
| > *intentionally* do so by changing sort criteria in the query string.
| > if that is someone's intention, it doesn't effect me in the least. i
| > suppress throwing php sql execute errors so all they'll see is a
| > blank page. doesn't do a thing to my site.
|
| will you give me an url?
i don't need to give you a url. i told you why. create the people table and
hit it on YOUR server with the source code i gave. tell me where and how
security and/or data integrity was compromised.
| > YOU GAVE NO SOLUTION. auto-incrementing id's alone don't solve this
| > problem - as i've outlined many times before...nor do they resolve
|
| i did, but later, first she fucked me because you did it first and she
| follows your opinion
you still have not. you keep chanting the mantra of 'auto-increment' will
solve everything. i pointed out two cases where it does NOTHING...and these
cases are very large problems related to data integrity and in the example i
gave, a huge security whole.
produce a script that implements your ideas. perhaps that will speak more
clearly than your english...which may be why you aren't being understood
fully.
| > perhaps the 53 hours is effecting your
| > behavior as well. man, i have to make *A LOT* of allowances for you,
| > eh?
|
| i just finished site which i wanted to upload on server - rest me only few
| things to do so i didn't want to go to sleep before i will do it
why did you feel the need to say linda was stupid for asking the question?
| > i check warning.length to see if a previous field generated an error,
| > if not then i validate the next field. you DO know that in c-style
| > languages, truth in IF statements are evaluated from left to right
| > instead of blindly evaluating ALL conditions and THEN looking to see
| > if they all are true...right?!
|
| i understand this code you nn to give me directions, but i cant understand
| why you use two solutions? why not only trim(a).length == 0?
| but dont know why you check other fields if one produce errror - i know
you
| will write you do not check but if you will use nested IFs your code will
| stop when first error occur
i use one solution, not two. if there was an error with the previous field,
i don't need to trim(a).length = 0 (btw, == in js is an error). i only want
to alert the user to one error at a time...why evaluate more than i have to?
i don't use the nested IF approach because it could get very deep if there
are more than a few fields. i don't want to use switch because js 1 doesn't
support it. hence, i wrote it in a maintainable, easy-to-read fashion.
if i put the alert code within each IF then that is multiple places i'd have
to maintain what and how i display any message. as a general rule, you
should not duplicate code that does the same thing...unless you want to open
yourself up to bugs and maintenance nightmares.
| > and, no, the rest of your comments are as inaccurate as this one and
| > for the SAME reason...you simply don't know how to read code or have
| > command of the language.
|
| i was tired ...
and nasty. why did you feel the need? i was only initially rude and
demeaning to you because i thought it VERY distasteful for you to call a NEW
(or any) person with a question, stupid.
| > omg. i'm frightened to think of what your pascal looks like. lol. i
| > have to change the code anyway but NOT because of ANYTHING you've
| > said. when i make the class template, i will seperate the
| > functionality from the html. nothing more.
|
| are you scare to public URL to this shit?
i own my domain. i don't want you looking up my phone number to continue
this harrassment over the phone. PLUS, i gave you the source. play with it
and tell me if the data integrity and/or security is compromised.
i'm only scared to see your code in other languages, let alone in php. and,
of what 'shit' do you speak?
[Back to original message]
|