Website design php or html css

Discussion in 'HTML & Website Design' started by unknown34, Nov 29, 2011.

  1. #1
    Hi,

    I have a website that I want someone to design and this person only offers html/css, I have a few questions for security is it better to have html/css or php?

    My design will incorporate a web hosting design, selling shared hosting, e-commerce with no shopping cart on there, I will be using WHMCS for billing. And just like to know which would be best for my needs. Do you think the html/css can be converted into php hard coded?
     
    unknown34, Nov 29, 2011 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    You can NOT create ANY web page without HTML. You MUST use CSS to make it pretty. PHP runs on the web server ONLY and adds functionality to the web page what HTML cannot do on its own. No one EVER converts web pages from html/css to php.
     
    drhowarddrfine, Nov 29, 2011 IP
  3. unknown34

    unknown34 Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    So what is php used for? Is it needed for my site?
     
    unknown34, Nov 29, 2011 IP
  4. pupul

    pupul Prominent Member

    Messages:
    1,737
    Likes Received:
    66
    Best Answers:
    2
    Trophy Points:
    340
    #4
    It depends on your use. But you can use all html, css and php at once.
     
    pupul, Nov 29, 2011 IP
  5. unknown34

    unknown34 Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Security wise is html/css good, I know I could use php and html but what is php for on a site security, scripts do i need it.
     
    unknown34, Nov 29, 2011 IP
  6. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #6
    It's statements like that that give ignorance a bad name.
     
    drhowarddrfine, Nov 29, 2011 IP
  7. unknown34

    unknown34 Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    People like you that give humanity a bad look on itself.
     
    unknown34, Nov 29, 2011 IP
  8. smartyjohn

    smartyjohn Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If you need Just Information site then HTML/CSS is best fit to you. But as you are asking a CMS and Security then you will surely need any scripting language like PHP, JSP or ASP. HTML/CSS is far better for a small site frm 5-50 pages but if you want a big website and wanna update it yourself you need to built it in PHP.
     
    smartyjohn, Nov 30, 2011 IP
  9. burminsky_pv

    burminsky_pv Peon

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    It depends on your needs. With html you would get static pages, with php - dynamic website.
     
    burminsky_pv, Nov 30, 2011 IP
  10. Alan Smith

    Alan Smith Active Member

    Messages:
    1,263
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    78
    #10
    As per my knowledge HTML is used to create web pages and without HTML you cannot put any language whether it is scripting language like PHP or any other language using for website building.CSS represents the HTML element in different format.So, in my suggestion HTML+ CSS + PHP is a good combination for your website.
     
    Alan Smith, Nov 30, 2011 IP
  11. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #11
    An HTML/CSS site can be secure. The difference isn't in security, it's in functionality. An HTML/CSS site is a snapshot, a PHP page is interactive - it can actually do things.

    If you want to sell (anything) you need server-side coding, like PHP.

    Converting HTML/CSS to PHP is as simple as
    
    <?php
    //insert your HTML/CSS page here
    ?>
    
    PHP:
    It won't do anything, it'll just be a PHP page that creates your HTML/CSS page. (It's like taking a snapshot of a movie on the screen - it's still a snapshot.)
     
    Rukbat, Dec 1, 2011 IP
  12. leanocodes

    leanocodes Member

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #12
    CSS is the website's design, while PHP is it's function. :)
     
    leanocodes, Dec 1, 2011 IP
  13. Esolution

    Esolution Active Member

    Messages:
    343
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #13
    now a days there is lot more updation in PHP you can use it and get all your required results
     
    Esolution, Dec 1, 2011 IP