PHP and CGI, PERL?

Discussion in 'Web Design & Coding' started by _DM_, Dec 23, 2002.

  1. _DM_

    _DM_ OSNN Senior Addict

    Messages:
    475
    what the hell are these things? Over the past years i still dont know them what they are and what they do. and the embarsing thing about this is that i'v been working with sites alot of times with html. nows the time to tell me these things.
     
  2. Zedric

    Zedric NTFS Guru Folding Team

    Messages:
    4,006
    Location:
    Sweden
    CGI: As I've gathered, basicly anything server-side. Often perl.

    Perl: Script language. C-like (I think). The structure is "normal" program code and the output made by printing out strings.

    PHP: Script language. Very C-like. The structure is somewhat different from Perl. PHP is more like a normal HTML page but with the PHP code "stuck in" inside <? ?>-tags. Very usefull and easy IMO.

    ASP: Like PHP but with VB-style code. <% %>-tags.

    There are more languages you can use if you want to, but these are the most common. All the above are executed "server-side", which means the client (browser) only sees plain HTML. This makes for better browser compatibility since they don't have to support, for instance, PHP.

    I hope this wasn't too much of a mess. :)
     
  3. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    Basically this page is not a static page.. ie not written and saved...
    It is generated.
     
  4. Iceman

    Iceman Moderator

    Messages:
    2,695
    dang it and here I thought u was paying somebody to type all this mess.

    somebody please tell me where the "any" key is would you ??

    [​IMG]
     
  5. _DM_

    _DM_ OSNN Senior Addict

    Messages:
    475
    lol da "any" key. thats would be cool if they had it on a keyboard.
    btw zedric thnxs for your help. I'll probably learn PHP first.