Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #725

Re: PHP query

Subject Re: PHP query
Newsgroups comp.sys.acorn.programmer
From Alan Adams <alan@adamshome.org.uk>
Date 2011-09-13 22:39 +0100
Message-ID <acc1451252.Alan.Adams@laptop.adamshome.org.uk> (permalink)
References <aaf1210f52.Alan.Adams@laptop.adamshome.org.uk> <520f5b7e0dzuiderduin@hotmail.com> <0374a80f52.Alan.Adams@laptop.adamshome.org.uk> <76c9af0f52.Matthew@sinenomine.freeserve.co.uk>
Organization Orpheus Internet Services

Show all headers | View raw


In message <76c9af0f52.Matthew@sinenomine.freeserve.co.uk>
          Matthew Phillips <spam2011m@yahoo.co.uk> wrote:

<snip>

> Handling user-input safely is one of the most important things to learn when
> using PHP.  Get to know the functions htmlspecialchars, urlencode and
> addslashes (or the database-specific equivalent) and use them thoroughly.
> Failing to treat user-input carefully is what's behind many of the security
> holes which have allowed web sites to be hacked.

Interestingly, my O'Reilly "PHP in a Nutshell" book doesn't mention 
any of those.

<snip>


-- 
Alan Adams, from Northamptonshire
alan@adamshome.org.uk
http://www.nckc.org.uk/

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

PHP query Alan Adams <alan@adamshome.org.uk> - 2011-09-07 20:20 +0100
  Re: PHP query Robin Hounsome <robin@hounsome.org.uk> - 2011-09-07 21:29 +0100
  Re: PHP query Frank de Bruijn <zuiderduin@hotmail.com> - 2011-09-08 07:48 +0200
    Re: PHP query Alan Adams <alan@adamshome.org.uk> - 2011-09-08 20:49 +0100
      Re: PHP query Matthew Phillips <spam2011m@yahoo.co.uk> - 2011-09-08 22:09 +0100
        Re: PHP query Alan Adams <alan@adamshome.org.uk> - 2011-09-08 23:05 +0100
        Re: PHP query "John Williams (News)" <UCEbin@tiscali.co.uk> - 2011-09-10 00:47 +0200
          Re: PHP query Matthew Phillips <spam2011m@yahoo.co.uk> - 2011-09-13 20:46 +0100
            Re: PHP query "John Williams (News)" <UCEbin@tiscali.co.uk> - 2011-09-13 22:03 +0200
        Re: PHP query Alan Adams <alan@adamshome.org.uk> - 2011-09-13 22:39 +0100

csiph-web