Question: Can I put this in my HTML `<head>`?

```
<link rel="stylesheet" href="http://site.com/some/php/script/userid/style.php" />

```

Basically, can I pass a user ID via a URI segment (or a GET variable) to a PHP script - which will still be validly treated as a stylesheet?

So, for example, if in my webapp a user has a custom CSS stylesheet for their page, I can just load it up dynamically in my controller by outputting this as the stylesheet URL - is this possible? I know the PHP part is certainly possible, but will this still be valid or fully browser/server compatible?

Thanks!

Answer: 
As long as you output proper CSS it fine. Your browser doesn't care how the stylesheet is generated or how the URI looks like. It just has to be a stylesheet.
as long as you have correct headers set, there should not be any problems with that.