HTTP headers when css @import
Posted: Sat Apr 19, 2008 12:00 pm
Hello everyone.
I need to include a dynamic css file from another server. I can do this with either @include or <link>.
However, if I enter the url of the css file into my browser's address bar, I can also see the css code.
How in the world can I distinguish between the two requests? I know they are very different things in context... Is there any difference between the http request that a browser sends when you enter a URL and the http request that it sends when requesting an included css file?
This would be great for sharing resources and attributing copyright. Anyone knows anything about this? I tried comparing the $_SERVER array, but there is absolutely no difference, and I don't know where else to look.
Thanks
I need to include a dynamic css file from another server. I can do this with either @include or <link>.
However, if I enter the url of the css file into my browser's address bar, I can also see the css code.
How in the world can I distinguish between the two requests? I know they are very different things in context... Is there any difference between the http request that a browser sends when you enter a URL and the http request that it sends when requesting an included css file?
This would be great for sharing resources and attributing copyright. Anyone knows anything about this? I tried comparing the $_SERVER array, but there is absolutely no difference, and I don't know where else to look.
Thanks