use header Content-type text/css variable after include the style?
<p>I have color.php and index.php:</p>

<p>color.php:</p>

<pre><code>header("Content-type: text/css", true);
$color = "#ff0000";
echo"#div{$color}";
</code></pre>

<p>index.php</p>

<pre><code>&lt;link rel='stylesheet' type='text/css' href='color.php' /&gt;
&lt;?php
 echo"$color"; // want to use the stylesheet color php here
?&gt;
</code></pre>

<p>but <code>$color</code> is empty.</p>

<p>any ideas how can I use the color.php <code>$color</code> value?</p>

<p>thank you friends!</p>