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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.