uses a url of "http://style.com/cool" as an example of an external style sheet.
Also, I use a .php file as a javascript include on my site. The script is included on other websites as a js include as well so others can see what's new on my site.
I haven't had any problems or complaints so far.
At 10:58 AM 6/16/2004, Chris W. Parker wrote:
Gerben <mailto:[EMAIL PROTECTED]> on Wednesday, June 16, 2004 10:38 AM said:
> I wondering how browsers handle the following html-codes: > > <link rel="stylesheet" src="style.php" /> > and > <script type="text/javascript" src="code.php"></script> > > are there any browser that will choke in it because the files don't > have the appropriate (.css and .js) extension?
although i don't have an answer specifically, you might try having your webserver process .js and .css files just like it would .php files. that way you can use the correct extensions in your html and *still* have the web server do what you want it to do.
chris.
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php