•
•
•
•
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
![]() |
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.
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
•
•
Join Date: Apr 2005
Location: New York state
Posts: 487
Reputation:
Rep Power: 5
Solved Threads: 73
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
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+*
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h-->++ r z+*
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
http://www.bigattichouse.com/knowledgebase.html
![]() |
•
•
•
•
•
•
•
•
DaniWeb PHP Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- html/php form for .htaccess validation (PHP)
- download pdf file, convert to html, in PHP since working in Linux (PHP)
- wht is HTML,PHP,CGI(Common Gateway Interface) (PHP)
- Html+PHP Forms (PHP)
Other Threads in the PHP Forum
- Previous Thread: PHP query strings not working with mod_rewrite
- Next Thread: File Attachment Small Problem


Linear Mode