![]() |
| Forums | Gallery | Movies | File Hosting | Classifieds | Jokes | Free Hosting | Free Blogs |
|
|||
|
Would one be considered to be an idiot, or possibly even insane, if he/she has files that have no PHP coding in them whatsoever, and contunued to save and upload them as .php extentions, anyway?
__________________ Wholesale USB Flash Drives online photography classes |
|
|||
|
Not necessarily. The file will function just the same with a PHP extension as it would with a regular HTML extension. One thing I like about automatically creating all files with PHP extensions is that if later you want to add something in PHP to the file, you don't have to save the file again with the new extension or worry about changing any Apache settings.
|
|
|||
|
If there's no harm in it, isn't it better to save it as .php sometimes, like sasakakee said?
|
|
|||
|
One simple optimization that most people miss is not using count($var) as a condition of for loops.
PHP Code:
PHP Code:
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|