<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>interfacelab - Latest Comments in Variables in CSS via PHP</title><link>http://interfacelab.disqus.com/</link><description></description><atom:link href="https://interfacelab.disqus.com/variables_in_css_via_php_58/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 13 Oct 2011 03:05:14 -0000</lastBuildDate><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-333408416</link><description>&lt;p&gt;This is really helpful. Thanks. But I have some different issue.  I have .php file where I am getting the css in PHP varible. Now I want to inject the value of that PHP varible into .css file. Can I do that and if so how? Thanks for your help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Raj Jones</dc:creator><pubDate>Thu, 13 Oct 2011 03:05:14 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-66309810</link><description>&lt;p&gt;Wow, cool you know I'm working with css for a long time but now I understand what I shall do is to make some things thought PHP&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Petya Design</dc:creator><pubDate>Thu, 05 Aug 2010 16:53:25 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-21877935</link><description>&lt;p&gt;thank you very much. i have been looking for a way to use variables in my css. this is great, thanks a lot.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James Brumond</dc:creator><pubDate>Wed, 04 Nov 2009 14:16:38 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-21852183</link><description>&lt;p&gt;You're a genius. I also ran across the document from Daniel and David and was actually surprised that w3schools didn't do something with this information. These variables and other scripting-like features is definitely something css lacks off. I think that companies who build and maintain large websites with complex stylesheets already build compilers for their own usage, but they'll probably never release it to the public. But you did, and I'm definitely going to use this wonderful piece of innovation!&lt;/p&gt;&lt;p&gt;Thank you for sharing this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mauricevlot</dc:creator><pubDate>Wed, 04 Nov 2009 08:13:50 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-21484758</link><description>&lt;p&gt;This is really nice. I was trying to adapt this to a few of my projects and noticed some bugs.&lt;/p&gt;&lt;p&gt;Within a .cssp file, having a rule that needs to be parsed after an eval() rule will throw an exception. I changed the regex pattern for catching the eval lines to this:&lt;/p&gt;&lt;p&gt;$eval_regex='/(eval\((.*)\))\/';&lt;/p&gt;&lt;p&gt;from this:&lt;/p&gt;&lt;p&gt;$eval_regex='/(eval\((.*)\))\s*;/is';&lt;/p&gt;&lt;p&gt;There's also that is_num function which doesn't exist. It's been mentioned before but it's is_numeric.&lt;/p&gt;&lt;p&gt;There seems to be other hidden features with you haven't mentioned. I'll be experimenting with them. Thanks for putting this out here.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dvessel</dc:creator><pubDate>Sat, 31 Oct 2009 17:22:36 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-16402626</link><description>&lt;p&gt;This is something very important and basic that CSS lacks, sometime you even have to inherit most of the styles from one definition into another, but there is not solution. Thanks for writing this cool parser, I am surely going to try it,&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">smashingthemes</dc:creator><pubDate>Thu, 10 Sep 2009 23:10:05 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-16397219</link><description>&lt;p&gt;line 146: is_num =&amp;gt; is_numeric&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joericochuyt</dc:creator><pubDate>Thu, 10 Sep 2009 20:49:00 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-13121414</link><description>&lt;p&gt;I'm currently working on a PHP v5.3 compatible implementation of this, if you have any more ideas, I'd be more than happy to include them.  For those who want it.  I'll make it available for download/review on my company's website at &lt;a href="http://alboeverything.com" rel="nofollow noopener" target="_blank" title="http://alboeverything.com"&gt;http://alboeverything.com&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">arionyx</dc:creator><pubDate>Wed, 22 Jul 2009 14:18:15 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-12487362</link><description>&lt;p&gt;Thank u&lt;/p&gt;&lt;p&gt;It.s very good&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">بلياردو</dc:creator><pubDate>Fri, 10 Jul 2009 19:11:32 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-3722608</link><description>&lt;p&gt;Very cool idea!!  Thanks for taking the time to document it!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Custom PHP</dc:creator><pubDate>Wed, 12 Nov 2008 17:19:33 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-1648845</link><description>&lt;p&gt;Nope, link?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jawngee</dc:creator><pubDate>Tue, 19 Aug 2008 13:13:53 -0000</pubDate></item><item><title>Re: Variables in CSS via PHP</title><link>http://interfacelab.com/variables-in-css-via-php/#comment-1147016</link><description>&lt;p&gt;I wonder if you ever stumbled over Inman's related proposal for &lt;a href="http://www.shauninman.com/archive/2007/06/27/css_server_side_pre_processor" rel="nofollow noopener" target="_blank" title="http://www.shauninman.com/archive/2007/06/27/css_server_side_pre_processor"&gt;sever-side constants&lt;/a&gt;, which seems to be a kind of predecessor to this CSS compiler?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Robert</dc:creator><pubDate>Sat, 09 Aug 2008 15:34:57 -0000</pubDate></item></channel></rss>