PHP comand line CLI CGI - whats that for?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jx2
    New Member
    • Feb 2007
    • 228

    #1

    PHP comand line CLI CGI - whats that for?

    can any1 give me a good example for cli or CGI or comand line usage
    i've read the description on php.net but i just dont understand whats going on
    what do you use it for and how - i managed to run a script from comand line and i get the results back but... what for? lol i am really confused lol

    thanks a lot
    jx2
  • jx2
    New Member
    • Feb 2007
    • 228

    #2
    come on guys i know u know ;-) help me.....
    thx
    jx2

    Comment

    • kovik
      Recognized Expert Top Contributor
      • Jun 2007
      • 1044

      #3
      Originally posted by jx2
      but... what for? lol i am really confused lol
      Not all PHP scripts are meant for displaying pages. Some handle cron jobs, create memberships for hosting companies, or handle something that you wouldn't dare make available from a browser.

      Comment

      • jx2
        New Member
        • Feb 2007
        • 228

        #4
        Originally posted by volectricity
        Not all PHP scripts are meant for displaying pages. Some handle cron jobs, create memberships for hosting companies, or handle something that you wouldn't dare make available from a browser.
        thx a lot
        me,ber ships for hostings - how?

        regards
        jx2

        Comment

        • kovik
          Recognized Expert Top Contributor
          • Jun 2007
          • 1044

          #5
          Originally posted by jx2
          thx a lot
          me,ber ships for hostings - how?
          Web hosts put a lot of effort into security, because one false move and all of their customers are screwed. Web developers can basically create something, throw some validation into it, and let it be for years to come. Web hosts need to handle the majority of everything that they do manually to ensure payments go through, all domains are valid, all customers are valid, and all servers are safe.

          Comment

          Working...