RE: RE: RE: RE: RE: AW: [SMARTY] Paging

From: Date: Thu, 12 Dec 2002 14:04:29 +0000
Subject: RE: RE: RE: RE: RE: AW: [SMARTY] Paging
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6761@lists.php.net to get a copy of this message
> {return_paged_results query="delete * from customer"} fair point, i can see how the designer is capable of damaging the database. but this seems like a malicious usage of the plugin. the *intended* method of use would be to use a query supplied by the php. in .php: $query = "select ... from ..."; $smarty->assign('query', $query); in .tpl: {return_paged_results query=$query} is there any way of enforcing the usage of a predefined variable so that the designer cannot use their own query?

« previous php.smarty.general (#6761) next »