Not so. It depends on Apache and how it's configured. You can check how PHP is set up by creating a new PHP page and just inlcude the following:
<?php phpinfo() ?> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stephen Stagg Sent: Friday, 9 December 2005 11:25 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Dynamic Styles - Inline? What? In fact, I chickened out and used the IMG tag solution. however.... My web host uses PHP as a CGI module, I think, therefore, that it only handles files with .php extension? Stephen Linda Harms wrote: > Stephen, > > Several options actually are available on the PHP side. > > -- you CAN script the CSS to select the appropriate background image. > -- multiple css files, use php to call the appropriate one. > > > I have an example available if you're interested. > > Linda > (breaking away from normal lurk mode) > ----- Original Message ----- > From: "Stephen Stagg" <[EMAIL PROTECTED]> > To: "WSG" <wsg@webstandardsgroup.org> > Sent: Thursday, December 08, 2005 4:12 PM > Subject: [WSG] Dynamic Styles - Inline? What? > > > >> One site that I'm currently coding >> (http://www.minimology.co.uk/everest) >> uses some simple PHP to manage a few dynamic elements on the pages. >> >> One of these elements (will be | is) 2 Sponsors logos at the top of >> each page which will go into the template. I want the links to be >> randomly selected from a list and to use an FIR derivation to show >> the relevant company logos in an accessible manner. I also, however, >> want the user to be able to edit an xml file describing the >> attributes of the various sponsors and to add new ones. Normally I >> would define the FIR images in a linked x.css file but this is not >> scriptable. How does the list suggest the tags should be styled in this case? >> * Inline stylesheets? >> * Linked ".php" with content-type of text/css? >> * style="" attribute? >> >> Any thoughts?? >> >> Thanks >> >> Stephen >> ****************************************************** >> The discussion list for http://webstandardsgroup.org/ >> >> See http://webstandardsgroup.org/mail/guidelines.cfm >> for some hints on posting to the list & getting help >> ****************************************************** >> >> >> >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: >> 12/7/2005 >> >> >> > > > > ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************