including a browser sniffer's output into my templates
| From: | Thorsten | Date: | Thu, 29 Jul 2004 09:47:05 +0000 |
| Subject: | including a browser sniffer's output into my templates | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-11638@lists.php.net to get a copy of this message | ||
hi,
NB: this may be indirectly related to an earlier question of mine regarding inserting an obfuscated mailto-link into pages. if it resolves to the same solution (use "fetch"), i was unable to get the other thing working thusfar.
i'd like to include a browser sniffer into my pages which is written in php, so i can put the correct, browser-specific css path into my pages.
i cannot get this to work at all as of yet, because i can't figure out how to place the sniffer code into my template/php file. the sniffer requires me to include a php file (which does the work and finally echos the respective css path) into my xhtml, but whatever i've tried so far, the include statement is only literally printed into my xhtml output.
is there a way to "catch" the include's output and insert it? i tried the fetch method, but to no avail here.
help is appreciated,
- Thorsten