Jump to content
Sign in to follow this  
Jonas

Preferred file extension...

What is your preferred file extension for php?  

17 members have voted

  1. 1. What is your preferred file extension for php?

    • *.php
      16
    • *.php3
      0
    • *.phtml
      1


Recommended Posts

I prefer .phtml, simply because you don't see it used that much, and it's closer to .html :)

Share this post


Link to post
Share on other sites

.php mostly because it's short.Also, I'm starting to output things in xml a lot more so .phtml wouldn't make sense. :)

Share this post


Link to post
Share on other sites

.php is the best way. I think .phtml should be deprecated. People don't always know what .phtml means and will say .html instead, which would result in a broken link.

Share this post


Link to post
Share on other sites

php3, and phtml are rarely used these days. alot of hosting companies do not put it their apache configurations as a file extension. as you learn more php, you will see that just using the php file extension will be a lot easier.

Share this post


Link to post
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...