Another Newbie Question
| From: | Rich Gray | Date: | Fri, 04 Oct 2002 06:16:59 +0000 |
| Subject: | Another Newbie Question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-6091@lists.php.net to get a copy of this message | ||
Hi all
Another very basic question here...
Smarty v2.3.0
PHP v4.2.3
Win2K Advanced Server
Apache v1.3
I have a header template that is used for most pages. With this site the PHP
script sniffs the browser and if it is an IE version it will insert another
style/CSS stylesheet HTML <head> line into the header template...
So how does this scenario work with Smarty?
i.e. Template is built and compiled by the first visitor (A) who uses
Mozilla so no stylesheet code is inserted, visitor (B) with IE arrives
shortly afterwards and Smarty recompiles the header with the extra
stylesheet... then visitor A goes to another page and now gets an IE CSS
header???
TIA
RIch