Page 1 of 2 12 LastLast
Results 1 to 15 of 24

Thread: PHP vs. CGI/Perl

  1. #1
    Registered
    Join Date
    Aug 2005
    Location
    ACT, Australia.
    Posts
    77

    PHP vs. CGI/Perl

    I am going to start learning either one of these languages. I am wanting to make a login/sign up system for my site which will enable users to post comments/reviews for bands and add their own bands. Which code would be easier to learn and more suitable for what I am wanting to make?
    Thanks.

  2. #2
    Senior Member AndyH's Avatar
    Join Date
    May 2004
    Location
    Australia
    Posts
    553
    PHP

    Don't make the mistake of using Perl.

    Rebuilding a website because Perl was too slow was a pain, a big pain. Learn from my mistake .
    New website released. ya rly!

  3. #3
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    PHP is much easier to learn
    Stepping On Wires - the new blog

  4. #4
    Not that blue at all Blue Cat Buxton's Avatar
    Join Date
    May 2004
    Location
    UK
    Posts
    932
    Yes, PHP is easier to learn. When I started to look at CGI / Perl it just had me in circles whereas with PHP you can do a lot quite easily.

  5. #5
    Registered
    Join Date
    Aug 2005
    Location
    ACT, Australia.
    Posts
    77
    Well, I just completed 2 simple tutorials, one in each language. And, I have to say, I got through the PHP one much quicker and it is was a much cleaner code. Looks like I am going to go with PHP .

  6. #6
    I'm the oogie boogie man! James's Avatar
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    1,566
    PHP. Perl's a vicious troll.

  7. #7
    Working. Masetek's Avatar
    Join Date
    Aug 2005
    Location
    Aust
    Posts
    543
    PHP is the way forward and easy to learn. There's plenty of good books around on it. Tutorials are good, but I reckon learning from a book from the beginning will give you a better understanding of the lang


  8. #8
    Future AstonMartin driver r2d2's Avatar
    Join Date
    Dec 2003
    Location
    UK
    Posts
    1,608
    Just editting some Perl at the moment, and I would definitely recommend PHP - Perl is the work of the devil.

    (Its a datafeed script a mate gave me, Perl is apparently good for massive SQL work, so I just edit where necessary, and ignore the scary looking syntax...)

  9. #9
    Well, I've worked in both as well as several other languages at one point or another.
    PHP is the language I use for web sites. Hand downs, you get better coding, faster development and faster web sites.
    Perl is the language I use for scripts that will run on the server as cron jobs, or server maintenance, etc.
    Perl can be easy and it can be fast, but you've gotta work with it.
    But for web sites, Stick with PHP.
    Roger Stringer - freekrai.net
    DBStract - Build Virtual Databases

  10. #10
    Trench Warfare
    Join Date
    May 2003
    Location
    Australia
    Posts
    813
    Learn PHP. PHP is more useful if you are interested in publishing websites (although, i know neither - I pay people to code for me ).
    Last edited by ozgression; 09-03-2005 at 01:40 AM.

  11. #11
    I'm the oogie boogie man! James's Avatar
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    1,566
    Is that 'useless' supposed to be 'useful', ozgression?

  12. #12
    Registered
    Join Date
    Aug 2005
    Location
    ACT, Australia.
    Posts
    77
    I bought a few books on PHP today. Hopefully it won't take too long to gte through them .

  13. #13
    Trench Warfare
    Join Date
    May 2003
    Location
    Australia
    Posts
    813
    Quote Originally Posted by James
    Is that 'useless' supposed to be 'useful', ozgression?
    Yeah, thanks for drawing that to my attention.

  14. #14
    Registered
    Join Date
    Aug 2005
    Location
    ACT, Australia.
    Posts
    77
    Oh joy! Looks like I just completed step 1 on my road to becomming a PHP champ. I made the contact form on my site!!! Do I rock or what?

    I previously had a non-working one I made in CGI. It worked for all of 2 minutes before I decided to spruce it up and busted it.

  15. #15
    Web Monkey MarkB's Avatar
    Join Date
    Nov 2003
    Location
    London, UK
    Posts
    1,783
    Congrats! Next step: full-blown CMS
    Stepping On Wires - the new blog

Similar Threads

  1. Review: Professional PHP Programming
    By Chris in forum Books
    Replies: 6
    Last Post: 07-17-2013, 05:26 AM
  2. Replies: 0
    Last Post: 07-28-2005, 05:41 AM
  3. Replies: 0
    Last Post: 02-27-2005, 10:43 PM
  4. Replies: 2
    Last Post: 02-20-2005, 11:30 PM
  5. Replies: 0
    Last Post: 10-29-2004, 09:43 PM

Bookmarks

Posting Permissions

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