Results 1 to 6 of 6

Thread: Php? Html?

  1. #1
    What Is The Difference and is PHP hard to master.
    What program do i need to create a php site. i dnt know if its me but i think most php sites look better

  2. Software & Hardware   -   #2
    Dreameaver MX let's u create PHP pages.... But is thier really a diffrence

  3. Software & Hardware   -   #3
    Storm's Avatar Poster BT Rep: +3
    Join Date
    Apr 2003
    crazy skiing monkey
    i think php gives u more options..... u can actually do things with it....... html is more static, really only a way of saying how ur text must look (from what ive heard, im no xpert on this)
    great FTP site for awesome quality video clips
    yeah, you have to sign up, but its worth it

  4. Software & Hardware   -   #4
    Join Date
    Jan 2003
    Belle Vernon, PA, USA
    PHP is server-side scripting language.

    What is PHP?

    PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial.
    An example function:
    function filesize_r ($inFilesize) {
        $kb = 1024;
        $mb = 1024 * $kb;
        $gb = 1024 * $mb;
        $tb = 1024 * $gb;
        if ($inFilesize < $kb) {
            return( $inFilesize . ' Bytes' );
        elseif ($inFilesize < $mb) {
            return( sprintf('%.2f', $inFilesize/$kb) . ' KB' );
        elseif ($inFilesize < $gb) {
            return( sprintf('%.2f', $inFilesize/$mb) . ' MB' );
        elseif ($inFilesize < $tb) {
            return( sprintf('%.2f', $inFilesize/$gb) . ' GB' );
        else {
            return( sprintf('%.2f', $inFilesize/$tb) . ' TB' );
    This returns a number (a file's size in bytes) in a human-readable form.

  5. Software & Hardware   -   #5
    Ynhockey's Avatar Poster
    Join Date
    Jan 2003
    Well, HTML isn't a programming language at all. It isn't dynamic. You can't do anything with it that depends on what the user does (except some really small things).

    PHP isn't only dynamic, but just like any other programming language, it can process data and work with databases. Basically, everyone serious about website building should know PHP or ASP. ASP is worse and older, but it offers enough functionality for just about anything. I've never actually seen a site that was made in PHP that couldn't be made in ASP. However, PHP is still better. More efficient, to say the least.

    However, before you start with PHP, you should probably learn JavaScript.

  6. Software & Hardware   -   #6
    maddytherenegade's Avatar Poster
    Join Date
    Jun 2003
    IIT-Kharagpur, INDIA
    Simply putting , php gets query from the browser, talks to the server and reply to u..U cannot see the source of all the links if u want to..
    HTML talks directly with the server to the browser....u can see the source code..


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts