Hello,
Doesn't work... I tried with double quotes, no success. How would you do it?PHP Code:<?php header('Link: <'.getPath('css').'some/more/stuff'.$var.'style.css>;rel=stylesheet'); ?>
On a related note: can you include .js files using header()?
| SitePoint Sponsor |

Hello,
Doesn't work... I tried with double quotes, no success. How would you do it?PHP Code:<?php header('Link: <'.getPath('css').'some/more/stuff'.$var.'style.css>;rel=stylesheet'); ?>
On a related note: can you include .js files using header()?

the header function is for sending HTTP headers, not for HTML headers![]()
(or /> instead of > at the end if you want XHMTL)PHP Code:<link rel="stylesheet" type="text/css" href="<?php echo getPath('css'); ?>some/more/stuff<?php echo $var; ?>style.css">
Rémon - Hosting Advisor
Minimal Bookmarks Tree
My Google Chrome extension: browsing bookmarks made easy

You can replace HTML headers with HTTP headers for .css files.
My only problem is with the syntax.

Rémon - Hosting Advisor
Minimal Bookmarks Tree
My Google Chrome extension: browsing bookmarks made easy
Bookmarks