Page 1 of 1

The Fundamental Errors on newbies programmers...

Posted: Wed Aug 02, 2006 4:30 pm
by Gurzi
Hy people... I'm From Portugal, and i'm loving this Forum...

Have great guides and knowledgment...

My doubt is.....

Anyone know if exists one Guide talking about the normal errors done by the users that are starting programming?

The context i want is security, i never thought on security, so, i might had some errors that can be a an easy road to who wants to destroy some sites.

ps : sorry my bad english , i'm trying to improve him :P


:D

Posted: Wed Aug 02, 2006 4:32 pm
by Luke
#1 Rule for me: DO NOT TRUST ANY USER INPUT

Posted: Wed Aug 02, 2006 4:40 pm
by RobertGonzalez
Rule #2: Use the built in security features of PHP intelligently (register_globals = Off, display_errors = Off, etc).

Posted: Wed Aug 02, 2006 4:59 pm
by Gurzi
i knew the first 1 , the register globals, but the second one i didn't know... but it make all sense, if the errors are displayed, it's more easy to everyone change the data :)

i'm really enjoying this forum :)

congrulations for all :)

now, i'm a usual user :)

:D

ps : i had the display_errors on , but that errors are displayed on the page ? or exists other way to see the errors ?

Posted: Wed Aug 02, 2006 5:01 pm
by feyd
there was a thread around here a while ago on bad practices.

viewtopic.php?t=19006

Posted: Wed Aug 02, 2006 5:03 pm
by Gurzi
feyd wrote:there was a thread around here a while ago on bad practices.

viewtopic.php?t=19006
thnks :D

Re: The Fundamental Errors on newbies programmers...

Posted: Sat Sep 23, 2006 8:43 pm
by shiflett
Gurzi wrote:Anyone know if exists one Guide talking about the normal errors done by the users that are starting programming?
You might find the PHP Security Guide helpful:

http://phpsec.org/projects/guide/

It's also available in a few other languages. What's your native language?