XFileSharing Pro - <TMPL_VAR rand> on download0.html
<TMPL_VAR rand> on download0.html
Hi how do i get <TMPL_VAR rand> to generate a variable on download0.html?
Re: <TMPL_VAR rand> on download0.html
edit index.cgi (or pl) download0 subfilebeep wrote:Hi how do i get <TMPL_VAR rand> to generate a variable on download0.html?
add my $rand = rand(100); (or w/e the correct syntax is. google it., this gives 0-99)
and in the print template add
'rand' = $rand,