Jump to content

external .php pages, general questions


Ninjakreborn

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/19914-external-php-pages-general-questions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.