|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Isoss Smarty n00b
Joined: 20 Aug 2006 Posts: 1
|
Posted: Sun Aug 20, 2006 4:04 pm Post subject: filesize() |
|
|
Hello. I have been using smarty for a while now and I love it. Now as I am rebuilding my website with smarty I came to the point where I need to specify the sizes of my downloadable mp3 files which are retreived from the db and implemented in my template using {foreach}.
So each file path is retrieved from the db ... How can I get the filesize of the retrived files using the file path?
Thanks |
|
Back to top |
|
Pap Smarty Regular
Joined: 21 Jun 2006 Posts: 69 Location: Denver, CO
|
Posted: Sun Aug 20, 2006 10:03 pm Post subject: |
|
|
I believe:
{$myfile|@filesize} _________________ Don't be stupid, be a Smarty™.
Come and join the P-H-Party. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|