Re: Re: cvs: phpdoc /en/chapters security.xml

From: Date: Wed, 27 Feb 2002 09:17:45 +0000
Subject: Re: Re: cvs: phpdoc /en/chapters security.xml
References: 1 2  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969342628@lists.php.net to get a copy of this message
> after a long break I'm back again, and it wouldn't be me, > if I didn't want to turn around everything :) > > What I've recognized is that the page-width of > http://www.php.net/manual/en/security.database.php causes > difficulties > to read this chapter for people with a smaller screen-resolution. > > So I'd like to do the following changes to ease this situation a little bit: > > change line 787 > $query = "SELECT * FROM products WHERE id LIKE '%a%' exec master..xp_cmdshell 'net > user test testpass /ADD'--"; > to > $query = "SELECT * FROM products > WHERE id LIKE '%a%' > exec master..xp_cmdshell 'net user test testpass /ADD'--"; > > and line 859 > $query = sprintf("SELECT id, name FROM products ORDER BY name LIMIT 20 OFFSET %d;", > $offset); > to > $query = sprintf("SELECT id, name FROM products ORDER BY name LIMIT 20 OFFSET %d;", > $offset); > > This change might make reading these 2 code-lines more difficult, but eases > the reading of the whole chapter. Feel free to modify ;) Goba

« previous php.doc (#969342628) next »