Re: Compiled template path

From: Date: Tue, 22 Jul 2003 17:20:58 +0000
Subject: Re: Compiled template path
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9941@lists.php.net to get a copy of this message
Raul Carvalho wrote:
Hello, I'd like to know if it is possible to get the full path of a compiled template, or at least the path relative do webserver root. The reason I need this for is to have the browser redirect to that file instead of using $smarty->display($tpl). This method would allow the scripts to remove all POST+GET information, thus preventing users from trashing the database with browser refreshs.
Use display() .. Any other method is a bad idea... You can extend display() to include a script which cleans the GET and POST variables See documentation -- Tom Sommer, Denmark www.dreamcoder.dk - www.tsn.dk - http://blog.dreamcoder.dk

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