You can use the php script in the css as a "img" source.
But this is where I found IE looks to load it twice. I confirmed it in the apache logs. Firefox didn't seem to have that issue so the only thing I could conclude was IE does some strange stuff with css.
That's an understatement. IE does some weird stuff with everything. It's not a compliant browser. Version 7 should be though.