Go Back   Dedicated Server Hosting | VPS Hosting | Virtual Private Servers Forum > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 01-22-07, 07:37
BOD Member
 
Join Date: Jan 2007
Posts: 32
Default Difference between php and html

Does any one know the difference between php and html because I have developed a site in php. Which is more advantageous and superior?

Also, to your notice that i have a vps hosting package
Reply With Quote
  #2 (permalink)  
Old 01-22-07, 07:44
BOD Member
 
Join Date: Jan 2007
Posts: 24
Default

PHP is the server side scripting and HTML is the formatted output for the end user. They go hand and hand.
Reply With Quote
  #3 (permalink)  
Old 01-22-07, 07:46
BOD Member
 
Join Date: Jan 2007
Posts: 37
Default

PHP is Pre-Hyptertext Processor, meaning that the final output of PHP is HTML. Without HTML you don't see anything on a webpage. PHP just helps you create dynamic HTML pages.
Reply With Quote
  #4 (permalink)  
Old 01-22-07, 07:57
BOD Member
 
Join Date: Jan 2007
Posts: 66
Default

generally php ue for developing dynamic or database driven site and html is used in developing static contents....
Reply With Quote
  #5 (permalink)  
Old 04-14-09, 08:12
BOD Member
 
Join Date: Apr 2009
Posts: 3
Default A Layman's Idea of differentiating php from HTML

Not being a technical professional, all what I can say is that any website using php configuration can easily be edited (even by end user) later for making improvements or updating it.

On the other hand,any website using HTML configurations gets its data frozen and it becomes almost impossible to get it edited at the user end. Even the administrator needs to put greater efforts to edit the content.
Reply With Quote
  #6 (permalink)  
Old 04-14-09, 09:00
BOD Member
 
Join Date: Mar 2009
Posts: 229
Default

Quote:
Originally Posted by pushpak86 View Post
Not being a technical professional, all what I can say is that any website using php configuration can easily be edited (even by end user) later for making improvements or updating it.

On the other hand,any website using HTML configurations gets its data frozen and it becomes almost impossible to get it edited at the user end. Even the administrator needs to put greater efforts to edit the content.
to the forums Pushpak!

I agree with you that PHP is easier to be edited as compared to HTML! Well, as said before, PHP is used to create dynamic HTML pages. The output is HTML only. So, logically, either way if we use HTML directly it should be easier than PHP to work with however, practically, it is not.
Reply With Quote
  #7 (permalink)  
Old 04-14-09, 09:05
BOD Member
 
Join Date: Apr 2009
Posts: 3
Default User Interaction

Hi Martin

Thanks for your valuable feedback. I am saying the same thing but not exactly. What I wanted to focus on is PHP is more user interactive and thereby facilitates the users to express their views. It facilitates duplex between the administrator and the user. More or less, both of us are saying the same thing.

Reply With Quote
  #8 (permalink)  
Old 04-15-09, 06:22
Moderator
 
Join Date: Mar 2009
Posts: 363
Default

Quote:
Originally Posted by pushpak86 View Post
Not being a technical professional, all what I can say is that any website using php configuration can easily be edited (even by end user) later for making improvements or updating it.

On the other hand,any website using HTML configurations gets its data frozen and it becomes almost impossible to get it edited at the user end. Even the administrator needs to put greater efforts to edit the content.
You have bumped a really old thread. Thanks for the information though

And to the community.
Reply With Quote
  #9 (permalink)  
Old 04-20-09, 18:25
BOD Member
 
Join Date: Apr 2009
Posts: 28
Default

I think as a whole new language will need to come out to simplify the process a bit, so we don't have these type of questions
Reply With Quote
  #10 (permalink)  
Old 04-21-09, 03:59
BOD Member
 
Join Date: Apr 2009
Posts: 3
Question Contradiction

I am sorry to contradict you but I think the resources we have at the moment are sufficient to highlight the difference.

One just needs to put on his/her thinking cap and turn it around.
Reply With Quote
  #11 (permalink)  
Old 04-21-09, 11:10
Shane Phillips's Avatar
Chief Operating Officer
 
Join Date: Dec 2006
Posts: 1,055
Send a message via AIM to Shane Phillips Send a message via MSN to Shane Phillips
Default

Quote:
Originally Posted by pushpak86 View Post
I am sorry to contradict you but I think the resources we have at the moment are sufficient to highlight the difference.

One just needs to put on his/her thinking cap and turn it around.
True enough!

It's all about your requirements.

Regards,

Shane Phillips
__________________
Redundant Dedicated Server Hosting Solutions Only at BODHost
24x7 Toll-Free ph. : +1. 866-662-0909
Email : sales@bodhost.com | MSN : sales@bodhost.com
Reply With Quote
  #12 (permalink)  
Old 05-27-09, 14:53
BOD Member
 
Join Date: May 2009
Posts: 50
Default

HTML files are just like PHP however, your script can include both HTML and PHP coding. When someone goes to a website that has both PHP and HTML, the PHP is loaded in the background so to speak, so the surfer viewing the page only gets sent the HTML part in the browser.
Reply With Quote
  #13 (permalink)  
Old 07-07-09, 21:37
BOD Member
 
Join Date: Jul 2009
Posts: 48
Default

I am new here and very interesting in learning the various web languages, I have understood quite a bit from reading this thread. Thanks to all the persons who explain here.
Reply With Quote
  #14 (permalink)  
Old 07-08-09, 14:08
BOD Member
 
Join Date: Jan 2009
Posts: 171
Default

So we have read that HTML is harder than PFP, can anyone touch base on why that is? For me I see PHP and I run away in another direction, HTML I can hack away at longer and understand certain things but for PFP its the opposite for me.
Reply With Quote
  #15 (permalink)  
Old 07-08-09, 20:38
BOD Member
 
Join Date: Jun 2009
Posts: 58
Default

This is quite interesting! How many and what programs or languages or techniques do you have to know or be familiar with, to be able to run a really good website that would make it high in the page ranking?
Reply With Quote
  #16 (permalink)  
Old 07-10-09, 15:07
BOD Member
 
Join Date: Jan 2009
Posts: 169
Default

Hi there! HTML is a language that consist of tags that describes the public parts of a website, but it cannot work alone in a dynamic site, am I right? PHP is a scripting language that works in a dynamic site, and you are able to create scripts that will address user requests to the MySQL database.
Reply With Quote
  #17 (permalink)  
Old 07-10-09, 21:23
BOD Member
 
Join Date: May 2009
Posts: 85
Default

Quote:
Originally Posted by bluetrance05 View Post
Hi there! HTML is a language that consist of tags that describes the public parts of a website, but it cannot work alone in a dynamic site, am I right? PHP is a scripting language that works in a dynamic site, and you are able to create scripts that will address user requests to the MySQL database.
HTML is what makes up a web page. It is a markup language that browsers use to format text, images, sounds, and what not into the layout you see.

PHP however is a scripting language that is often used in web sites to generate dynamic HTML (changing content) and work with the back-end of websites (session control, data retrieval, form checking, and so on).
__________________
Jeremy J

* Bodhost VPS Linux Account Holder
* Network Information Systems Professional
Reply With Quote
  #18 (permalink)  
Old 07-14-09, 02:48
BOD Member
 
Join Date: Jun 2009
Posts: 58
Default

Did I get it right that you need more than one language to create a website? Its a combination of many languages, but HTML and PHP is always there as the basic language?
Reply With Quote
  #19 (permalink)  
Old 07-18-09, 11:47
BOD Member
 
Join Date: Jul 2009
Posts: 50
Default

Quote:
Originally Posted by tigress View Post
Did I get it right that you need more than one language to create a website? Its a combination of many languages, but HTML and PHP is always there as the basic language?
You can create a website that a user could view with only HTML, but not only with PHP. Basically, the HTML tags describe what the user will see, and all the PHP does is communicate behind the scenes (usually with a database).
Reply With Quote
  #20 (permalink)  
Old 07-18-09, 11:49
BOD Member
 
Join Date: May 2009
Posts: 85
Default

Quote:
Originally Posted by Quilceda View Post
You can create a website that a user could view with only HTML, but not only with PHP. Basically, the HTML tags describe what the user will see, and all the PHP does is communicate behind the scenes (usually with a database).
Actually, that's not true. You can create a page a user can view in pure PHP. PHP can output all the HTML you want. Yes, they still see only the outputted HTML (no PHP), but you can use PHP to generate, on-the-fly, all the HTML needed.
__________________
Jeremy J

* Bodhost VPS Linux Account Holder
* Network Information Systems Professional
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 14:41.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2008, BODHost.com. All rights reserved.