in reply to Re^2: learning by example; please explain what this code is doing?
in thread learning by example; please explain what this code is doing?

I completely understand that view. From my perspective I'm trying to prevent newcomers from picking up either time-wasting habits or dangerous ones. Which means, I'm trying to help you even if it doesn't quite feel that way.

DO NOT PLACE THIS SERVICE ON AN OPEN WEB SERVER

That caveat in the script should be read to mean: the following code is insecure but let's not worry about how. If you emulate it, you could destroy a business, expose yourself to multi-million dollar lawsuits, get yourself fired, or generally make co-workers not enjoy having you on the team.

I am completely for test code and learning code and reinventing wheels for fun and all that. So I'm not trying to be a downer or criticize. I would be angry if I saw that code at work is all and I'd like to help new hackers avoid that direction as I have no idea how long my career will be. :P

Corion got you a good response on your direct questions. So, not all monks are bad!

  • Comment on Re^3: learning by example; please explain what this code is doing?

Replies are listed 'Best First'.
Re^4: learning by example; please explain what this code is doing?
by Habs (Acolyte) on Mar 30, 2016 at 13:24 UTC

    Hello again Your Mother,

    It is not my intention to just copy and use and of course security is important...but that is a given. I am just intrigued.

    If the code is fundamentally the wrong approach and just should not be done (not withstanding security issues), or the construction and techniques used incorrect and so forth, then by all means I would like to know, but I have to understand what I'm looking at first and then how it hooks together. If it is 'better' to bin it and review a different approach, then that is fair enough.

    Sadly perhaps, I am someone who likes a bit of hand-holding and cuddling occasionally.

    By the way, where/what is the wheel please, to your hint at the reinvention (as most things are these days) ? :-)

    Thank you

    PS: that link you provided is heavy weather: the title is a little off-putting when you are just starting out