title: including php code in css url
body: <p>Hi I need to include a php code to a folder in one of my css file. This is how I have link my images and other things together and it works.</p>
  
  <p>For example for image I normally do this:</p>
  
  <pre><code>&lt;img src="&lt;?php $directories-&gt;fetchdir($img); ?&gt; MYIMAGE.png" /&gt; 
  </code></pre>
  
  <p>This will general turn out to be www.example.com/html/img/MYIMAGE.png</p>
  
  <pre><code>directories &lt;--- this is my class
  fetchdir &lt;-- this is my function 
  </code></pre>
  
  <p>I have try the same thing in my .css file and its not working. I have try the same method in my test.css file. below is what I have try </p>
  
  <pre><code>@font-face {
      font-family:'FontAwesome';
      src:url('&lt;?php $directories-&gt;fetchdir($fonts);?&gt;fontawesome-webfont.eot?v=4.0.3');
  }
  </code></pre>
  
  <p>Please help. Thanks!</p>