[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what's the best way to share variables between main script and template files





On Oct 7, 2006, at 11:12 AM, GZ Dark wrote:

But is it the best way to use global vars for the sharing under modperl?is there any other good way?Thanks.

pnotes


personally though, i think you should opt for a more OOP approach and create a new header and footer object , explicitly passing in the variables you want.


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.