Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Html Or Php


  • Please log in to reply
7 replies to this topic

#1 Logix69

Logix69

  • Members
  • 104 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Kent
  • Local time:10:08 PM

Posted 22 May 2007 - 05:46 AM

what is best and what is the difference???????? i have been doing a website and have been told i should have done it php but whats wrong with html..

BC AdBot (Login to Remove)

 


#2 Nikas

Nikas

  • Members
  • 650 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Singapore
  • Local time:06:08 AM

Posted 22 May 2007 - 06:44 AM

Well, HTML isn't really a programming language. It just some coding for your website layout etc. and most importantly, it's static.

Whereas, PHP is dynamic and can make a lot of differences.

A simple example would be, in HTML you can't make the website for people to login and PHP can. Because HTML has no place like database to store your information.

Edited by Nikas, 22 May 2007 - 06:46 AM.


#3 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:04:08 PM

Posted 22 May 2007 - 08:02 AM

HTML is a language to display web page content. PHP is a scripting language that one can be used to dynamically generate web pages, but can also do many other things like connect to databases. There is nothing wrong with using html for simple pages.

in HTML you can't make the website for people to login

Sure you can. All one needs is something on the server to handle processing the login. That doesn't necessarily need to have anything to do with PHP. :thumbsup:

#4 Nikas

Nikas

  • Members
  • 650 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Singapore
  • Local time:06:08 AM

Posted 22 May 2007 - 08:26 AM

Sure you can. All one needs is something on the server to handle processing the login. That doesn't necessarily need to have anything to do with PHP. :thumbsup:


Oh.. my bad.

#5 Logix69

Logix69
  • Topic Starter

  • Members
  • 104 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Kent
  • Local time:10:08 PM

Posted 22 May 2007 - 10:23 AM

so useing html is fine then does anyone know of any good software to build wicked sites with at the moment i am using dreamweaver mx but really i am a amatuer and i am building a site for my farther inlaw am would like to do a good site, but also he wants to start up a e-commerce so is there any point in doing this site because i was told that i would have to redo the layout the site is on uk2.net (server)?????? any ideas

#6 groovicus

groovicus

  • Security Colleague
  • 9,963 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Centerville, SD
  • Local time:04:08 PM

Posted 22 May 2007 - 11:25 AM

The only real way to build 'wicked' websites is to actually learn html, css, and javascript. Dreamweaver can accomplish this, but not if you don't know what it is you are trying to do. Doing an e-commerce site is beyond just simple html. E-commerce websites require server-side technology to write to databases, process orders, and generate dynamic web pages based on desired content. That will require PHP,C++, Java, Perl, or some other language. That is hard core programming, and not something you are going to throw together in a weekend (or 6 months worth of weekends for that matter). You might be able to find some open source software that will accomplish what you want, but you will then require a server that is capable of running the application.
Something like this:
http://www.phpshop.org/

Creating an e-commerce website from scratch requires knowledge of databases, security, data structures, etc. People make a good living creating application like this, and it requires a bit of training and/or schooling. You may want to consider finding an open source package that will do it for you. Find one that has good support so that you have somewhere to turn to when you need help with installation or configuration.

#7 Nikas

Nikas

  • Members
  • 650 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Singapore
  • Local time:06:08 AM

Posted 22 May 2007 - 11:31 AM

In addition to what groovicus has said, there is a open source package called osCommerce. You will be able to find more information is the website. However, this requires knowledge in PHP/mySQL else it will be difficult for you to maintain the site.

#8 Logix69

Logix69
  • Topic Starter

  • Members
  • 104 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Kent
  • Local time:10:08 PM

Posted 23 May 2007 - 01:02 PM

does anyone know about the spry menu in adobe dreamweaver i have created a menu with a transparent background but there is a box in the background which i cannot get rid of any ideas? also when i move the mouse over one of the boxes in the menu it opens a submenu but the box behind it is saying false and i carnt get rid of that either.............

Edited by Logix69, 23 May 2007 - 01:08 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users