Ninjakreborn Posted September 6, 2006 Share Posted September 6, 2006 I just have discovered something (might sound wierd) but "I" didn't know about these things yet. I always used php in my Xhtml pages, I didn't know you could use them as CSS, JavaScript files. This opens up new worlds to me, I never thought possible, but before I get all happy, and start doing all my CSS, Javascript as php pages, and start adding new functionality to my css/javascript pages, I would like to know, are there any negative sides to using .php instead of external js, or css files. I am worried that some browsers may only accept the .css for stylesheet and .js for javascript, I really like this idea, and I am really ready to start utilizing it, and would love too, but I have to make sure it's not a bad thing first, or a bad programming/coding proactice or something, I have to make sure it's a good thing, and something that won't start causing me a whole bunch of problems later on down the road. Quote Link to comment https://forums.phpfreaks.com/topic/19914-external-php-pages-general-questions/ Share on other sites More sharing options...
trq Posted September 6, 2006 Share Posted September 6, 2006 Shouldn't cause any issues that I know of. Quote Link to comment https://forums.phpfreaks.com/topic/19914-external-php-pages-general-questions/#findComment-87176 Share on other sites More sharing options...
Ninjakreborn Posted September 6, 2006 Author Share Posted September 6, 2006 Good, good, I really appreciate it, I am going to have a very large amount of fun now, this opened up thousands of new doors. Quote Link to comment https://forums.phpfreaks.com/topic/19914-external-php-pages-general-questions/#findComment-87185 Share on other sites More sharing options...
trq Posted September 6, 2006 Share Posted September 6, 2006 php doesn't know or care what it outputs, Its all just text to php. Quote Link to comment https://forums.phpfreaks.com/topic/19914-external-php-pages-general-questions/#findComment-87188 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.