Thread
:
Let Customer choose number of products displayed on page
View Single Post
#
7
03-30-2008, 09:32 PM
Jon
X-Guru
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
Re: Let Customer choose number of products displayed on page
To err on the side of caution in preventing sql injection, I would modify change_ppp.php and:
FIND:
Code:
if ($ppp) {
CHANGE TO:
Code:
if ((int)$ppp > 0) {
FIND:
Code:
if ((int)$products_per_page > 0) {
Jon
View Public Profile
Visit Jon's homepage!
Find all posts by Jon