|
Hi, I want to TMPL_INCLUDE files, the problem is that the file I
want to include itself is variable. I want a construct of the sort <TMPL_INCLUDE NAME=”<TMPL_VAR NAME=file_name>”> Obviously, in my PERL script, I have a $template->param(file_name=>$filename); While the manual speaks of <IMG SRC="" NAME=image_name>”>,
there is no such feature provided for what I have stated above. Further, this
also throws up a syntax error. Apache error log is given below. [Tue Jul 12 01:29:57 2005] [error] [client 127.0.0.1] Premature
end of script headers: yes.pl, referer: http://localhost/cgi-bin/yes.pl?username=bawa&password=bawa&rm=login_validate [Tue Jul 12 01:29:57 2005] [error] [client 127.0.0.1] Error
executing run mode 'admin_add_user': HTML::Template->new() : Syntax error in
<TMPL_*> tag at F:\Program Files\Apache Group\Apache2\htdocs\yes\admin_tmpl.html
: 10. at C:/Perl/site/lib/HTML/Template.pm line 2288., referer: http://localhost/cgi-bin/yes.pl?username=bawa&password=bawa&rm=login_validate [Tue Jul 12 01:29:57 2005] [error] [client 127.0.0.1] at F:/Program
Files/Apache Group/Apache2/cgi-bin/yes.pl line 4, referer: http://localhost/cgi-bin/yes.pl?username=bawa&password=bawa&rm=login_validate Regards, Rajesh DISCLAIMER: |
- [htmltmpl] Nesting TMPL tags Rajesh_K
- Re: [htmltmpl] Nesting TMPL tags Philip Tellis
- Re: [htmltmpl] Nesting TMPL tags Mark A. Fuller
- RE: [htmltmpl] Nesting TMPL tags Rajesh_K
- RE: [htmltmpl] Nesting TMPL tags Philip Tellis
- Re: [htmltmpl] Nesting TMPL tags Mark Fuller
