Why use CGI if there is php?

Discussion in 'PHP' started by scutari, Aug 26, 2008.

  1. #1
    Can anyone tell me any reasonwhy to use CGI scripts when there is php?
     
    scutari, Aug 26, 2008 IP
    nabil_kadimi likes this.
  2. nabil_kadimi

    nabil_kadimi Well-Known Member

    Messages:
    1,065
    Likes Received:
    69
    Best Answers:
    0
    Trophy Points:
    195
    #2
    nabil_kadimi, Aug 26, 2008 IP
    wisdomtool and Barti1987 like this.
  3. wisdomtool

    wisdomtool Moderator Staff

    Messages:
    15,826
    Likes Received:
    1,367
    Best Answers:
    1
    Trophy Points:
    455
    #3
    wisdomtool, Aug 26, 2008 IP
    nabil_kadimi and chandan123 like this.
  4. grandpa

    grandpa Active Member

    Messages:
    185
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #4
    there are some tasks php cant do, such as: upload progress bar
     
    grandpa, Aug 26, 2008 IP
  5. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    not perl.I just read an article about CGi directory on a server, and was wondering that php, java, asp all do the same thing as CGI, so why use it?I heard about cgi scripts..too
     
    scutari, Aug 26, 2008 IP
  6. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    what is that for?
     
    scutari, Aug 26, 2008 IP
  7. grandpa

    grandpa Active Member

    Messages:
    185
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #7
    grandpa, Aug 26, 2008 IP
  8. coba

    coba Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I think why some business used CGI because they have an expert (skills programmer) person on coding the script on CGI PERL and better security, let see Rapidshare always changing their script to prevent cheating and improve security on their site. Security issues in perl scripts is very important to be safe on any hacking to the site now days.
     
    coba, Aug 26, 2008 IP
  9. thatsgreat2345

    thatsgreat2345 Peon

    Messages:
    63
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Actually PHP accompanied with javascript you an obtain an upload progress bar.
     
    thatsgreat2345, Aug 26, 2008 IP
  10. Barti1987

    Barti1987 Well-Known Member

    Messages:
    2,703
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    185
    #10
    Why drink Juice when you can drink water?

    Peace,
     
    Barti1987, Aug 26, 2008 IP
    nabil_kadimi likes this.
  11. knarffrank

    knarffrank Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    yes, me too.. i get confused with cgi and php
     
    knarffrank, Aug 26, 2008 IP
  12. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #12
    And I can tell you why. You never read past the first post of a thread. ;)
     
    nico_swd, Aug 27, 2008 IP
  13. Dman91

    Dman91 Peon

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #13
    It really depends what you want to do. PHP is useful for different things same with Perl
     
    Dman91, Aug 27, 2008 IP
  14. scutari

    scutari Peon

    Messages:
    431
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #14
    I have no knowledge about perl, it seem to be useful with databases, but I like php and it can be combined with other languages..
     
    scutari, Aug 27, 2008 IP
  15. huan

    huan Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #15
    cgi is userfull ,but it is hard to me .
     
    huan, Aug 27, 2008 IP
  16. bartolay13

    bartolay13 Active Member

    Messages:
    735
    Likes Received:
    14
    Best Answers:
    1
    Trophy Points:
    98
    #16
    its complicated ^^,
     
    bartolay13, Aug 27, 2008 IP
  17. coba

    coba Peon

    Messages:
    109
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #17
    CGI is not to hard to learn and also other programming language, lot of read with hard works. I know CGI before PHP come to this www, those days.
     
    coba, Aug 27, 2008 IP
  18. grandpa

    grandpa Active Member

    Messages:
    185
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    75
    #18
    have a snippet? i was searching for few day, and finally paid for xupload (perl).
     
    grandpa, Aug 27, 2008 IP
  19. gameOn

    gameOn Member

    Messages:
    624
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    35
    #19
    well php has made life lot easier... its rather difficult to code and implement a logic in pearl / CGI , atleast i have felt so :D
     
    gameOn, Aug 27, 2008 IP
  20. justinlorder

    justinlorder Peon

    Messages:
    4,160
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #20
    I know some php but nothing of cgi
     
    justinlorder, Aug 27, 2008 IP