View Single Post

  #6 (permalink)  
Old 12-30-2003
Rob
 
Posts: n/a
Default Re: Changing the values in a css


"Ike" <rxv@hotmail.com> schreef in bericht
news:8jPDb.1110$wL6.208@newsread1.news.atl.earthli nk.net...
>
> >
> > Generate the CSS file with PHP.

>
> How? I thought I could only generate an html file with php. Dou you mean,
> say, with file x.css, write x.php, instead of just having the css text, I
> might have php code, and then in my generated html file (generated by

php),
> which uses x.css, I have it use x.php ? -Ike
>
>


yes
examples

<script type="text/javascript" src="javascript.php"/>

<link type="text/css" href="style.php" relation="stylesheet"/>

<img src="image.php"/>

the php extension will tell apache to let the php module handle the page.
the tags will tell the browser how to handle the (generated) data

Rob




Reply With Quote