![]() |
|
|||||||
| Notices |
| Programming Forum Web and Software Programming Forum - Java, PHP, SQL etc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
|
|||
|
good information for those in need, however one thing I noticed.
Quote:
What Im saying is for example say you have a file at: yoursite.com/welcome.html and that includes a file called: title.htm now in the title.htm file you have some things you might now want to show, then you should use title.php. Anyone who then types: yoursite.com/title.htm can see its contents whether it be code or not. However, if that person types: yoursite.com/title.php, will only see stuff that is printed to the browser (stuff with for example) but other stuff wont show up dont know if this was very clear :) but hope it was.
__________________
Evolving with style // www.benshu.ch |
|
||||
|
maybe you didnt get the point.. its for dynamic content so that you can edit few lines of code on seperate pages within one file. so php extensions is needed or it wouldnt work. unless (doubt it) you have your server setup to use .htaccess files to modify mime type
|
|
|||
|
hehe, I do have .htaccess file so I can use .htm, .html and it get parsed as php :), sorry.
But my point about not having to use .php extension is still true, if its not dynamic or php content and you dont have .htaccess modified. I often use a template such as the following: Code:
makes it easier to make quick changes to a whole site especially with many pages.
__________________
Evolving with style // www.benshu.ch Last edited by bluesage; 25-01-2007 at 05:25 PM. |
![]() |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| includes in an array? | PR Design | Programming Forum | 11 | 18-10-2007 11:19 AM |
| All times are GMT. The time now is 10:52 PM. |