Re: src="test.php"
| From: | Michal Migurski | Date: | Wed, 16 Jun 2004 17:55:19 +0000 |
| Subject: | Re: src="test.php" | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-188422@lists.php.net to get a copy of this message | ||
> 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?
What matters is the appropriate Content-type header. See header().
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html