I believe the problem is that a .css file isn't going to be interpreted as PHP and so your code in the file is not going to be executed. If you included it as a PHP file, your code should be executed and your values should be filled in.
[Edit]
This does seem to be the way to do it, as noted by an answer someone linked to in a comment on the original post here.