It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
![]() |
![]() |
|
LinkBack | Thread Tools | Display Modes | ![]() |
|
|
#1 (permalink) |
|
Senior Member
Join Date: Oct 2006
Age: 22
Posts: 176
|
When you put a webpage onto your host, you can save it as either a PHP file or HTML file - among other options. I use to usually do most my webpages as HTML unless I had PHP code that I needed. However, I have gotten in the habit of almost always saving the pages as PHP.
This has many benifets including the following two. This way if I want to add PHP code later to an otherwise PHP-less page, I don't have to rename the page and redirect old links, and change internal links, etc. Secondly, this way I can use headers, footers, and/or templates for all my sites. HTML shows up on PHP, so I don't see any reason to limit myself. What do you do? Why?
__________________
Don't gain the world and lose your soul, wisdom is better than silver or gold.
~Bob Marley~ |
|
|
|
|
|
|
|
#2 (permalink) |
|
Senior Member
Join Date: Aug 2006
Age: 26
Posts: 755
|
I today do all my websites in PHP. First I started using PHP solely because of the ZLIB compression helping to save bandwidth.
However, today all the sites I design have dynamic header, menu and footer includes, hence PHP is the best solution. However, remember one thing when using PHP. The moment you name your file as PHP, you are telling the server to parse and compile it.
__________________
Ajay D'Souza Techtites - Your daily dose of all things Tech! Sir Arthur Conan Doyle | I Sent This WebberZone Domains |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Home many websites do you own? | scoooooty | All Things General | 35 | 09-25-2006 01:12 PM |
| Websites | Dana | General Business Issues | 11 | 08-02-2006 11:15 AM |
| Websites you own | Jack. | All Things General | 5 | 08-01-2006 08:23 PM |
| My Websites Coming Along | pirate_penguin | Graphics & Multimedia | 5 | 06-07-2005 07:51 AM |