Jump to content

Archived

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

Ninjakreborn

external .php pages, general questions

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.

Share this post


Link to post
Share on other sites
Shouldn't cause any issues that I know of.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
php doesn't know or care what it outputs, Its all just text to php.

Share this post


Link to post
Share on other sites

×

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.