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


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

Re: PHP query

Date 2011-09-13 20:46 +0100
From Matthew Phillips <spam2011m@yahoo.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: PHP query
Message-ID <105d3b1252.Matthew@sinenomine.freeserve.co.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> <52103c8e75UCEbin@tiscali.co.uk>

Show all headers | View raw


In message <52103c8e75UCEbin@tiscali.co.uk>
 on 9 Sep 2011 John Williams (News) wrote:

> In article <76c9af0f52.Matthew@sinenomine.freeserve.co.uk>, Matthew
> Phillips <spam2011m@yahoo.co.uk> wrote:
> 
> > That will remove slashes from a string but only if the magic quotes
> > feature is on.
> 
> How would you make that work on an array?

Well, you would have to write code to iterate through the whole array.  You
could, if you wished, process the $_GET, $_POST, $_REQUEST and $_COOKIES
arrays to remove magic quotes at the outset.

There are examples of this sort of thing in the comments on the PHP manual on
the web.  It's not really Acorn-specific so best to discuss this elsewhere.

-- 
Matthew Phillips
Durham

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next 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