RE: [PHP] src="test.php"

From: Date: Wed, 16 Jun 2004 17:58:18 +0000
Subject: RE: [PHP] src="test.php"
Groups: php.general 
Request: Send a blank email to php-general+get-188419@lists.php.net to get a copy of this message
Gerben <mailto:gerbendekeijzer@12move.nl> 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.

« previous php.general (#188419) next »