User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the PHP section within the Web Development category of DaniWeb, a massive community of 456,564 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,567 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our PHP advertiser: Lunarpages PHP Web Hosting
Views: 739 | Replies: 3
Reply
Join Date: Oct 2007
Posts: 6
Reputation: Labby77 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Labby77's Avatar
Labby77 Labby77 is offline Offline
Newbie Poster

News html vs. php

  #1  
Oct 23rd, 2007
Hello all master coders,

I have been doing my site exclusivley in html. What is the big differences bewteen php and html? What are

the advantages/disadvantages? What, if any would be the penalty from going from an html site to a php site?

Would this hurt the PR I have already gotten as well as the search results? Woud it appear to be a whole

new site?

Please discuss.

Thanks in advance.
Last edited by stymiee : Oct 23rd, 2007 at 1:58 pm. Reason: fake signature removed
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Apr 2005
Location: New York state
Posts: 487
Reputation: ShawnCplus will become famous soon enough ShawnCplus will become famous soon enough 
Rep Power: 5
Solved Threads: 73
Sponsor
ShawnCplus's Avatar
ShawnCplus ShawnCplus is offline Offline
Code Monkey

Re: html vs. php

  #2  
Oct 23rd, 2007
Well first of all HTML is *completely static and PHP is used to make pages dynamic since PHP is a programming language and HTML is a markup language. You still use HTML when you make websites in PHP since that's how browsers interpret the page.

It's extremely easy to incorporate PHP into an existing site. Heck, you can even keep the same pages you are using now, just add PHP functionality to the pages. I recently "converted" all of my site to use PHP and a database instead of static HTML and if I didn't have it posted on the news section you can't tell the difference in the least. PHP doesn't directly modify the look of anything unless you tell it to by outputing HTML or CSS. The only thing users might notice is the whole heap of new features that you've incorporated

*aside from server side includes and basic if statements
Last edited by ShawnCplus : Oct 23rd, 2007 at 9:52 am.
GCS d- s+ a-->? C++(++++) UL+++ P+>+++ L+++ E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h-->++ r z+*
Reply With Quote  
Join Date: Oct 2007
Location: Chenoa, IL
Posts: 13
Reputation: bigattichouse is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 2
bigattichouse's Avatar
bigattichouse bigattichouse is offline Offline
Newbie Poster

Re: html vs. php

  #3  
Oct 25th, 2007
If you feel that you don't want your pages to show as .php, but you still want to have dynamic content, you may want to check mod_rewrite as an an extension to Apache (which can accept urls in "static" format and then call php locally.
Need a simple, powerful knowledgebase? Bigattichouse Knowledge Base finds the solution while you're still typing the problem.
http://www.bigattichouse.com/knowledgebase.html
Reply With Quote  
Join Date: Sep 2007
Location: Budapest
Posts: 252
Reputation: fatihpiristine has a little shameless behaviour in the past 
Rep Power: 0
Solved Threads: 14
fatihpiristine's Avatar
fatihpiristine fatihpiristine is offline Offline
Posting Whiz in Training

Re: html vs. php

  #4  
Oct 25th, 2007
whats the point of comparing html and php??

so weird
Do a favour, leave me alone
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb PHP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the PHP Forum

All times are GMT -4. The time now is 5:49 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC