Thread: PHP vs. Perl

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    77
    Rep Power
    15
    Hello,

    I want to ask your opinion about doing a job better in Perl or PHP. I'm a novice at both, so I have full choice

    The task is the following:
    It is basically a formmail, but consisting of multiple (about 20-50) single formpages, which should finally be linked together to one single email. The sequence and total count in filling out the forms by the user is not fixed, but depends on user entries.
    Of course it should be foolproof, i.e. not completed fills should be trashed after timeout, multiple users should use it at the same time, etc.
    Password login is also mandatory.

    I thought of creating the start form static and then let the script create all following formpages dynamically.

    What do you think ?

    Cheers,
    Gerhard
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2000
    Location
    Ontario, Canada
    Posts
    498
    Rep Power
    18
    I'm not sure I quite understand, but...
    20 to 50 seperate forms?! Damn, that sounds like a daunting task. Regardless, why do you need that many forms?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2000
    Posts
    77
    Rep Power
    15
    Well, the thing is an architect's idea for an online 'construction consulting system' - an issue which is in fact very complex.
    Of course you can pack the whole thing in a 100 pages wordfile and let the user mail it back, but the great thing should be, that by answering multiple choice questions, the user is led only to the questions that apply for him.

    Gerhard
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    1
    Rep Power
    0
    Ok, I am a PHP programmer. Now I am working in Argentina.
    I think that you have to use PHP. It's similar to C++ language. I don't understand well why you have to creat 20-50 forms...I am sure you have an error there. Maybe you can put it all together, and modify it's layout, or passing many hidden inputs, or do something like that. Ok, do wathever you want, but I strongly recommend the use of PHP.
  8. #5
  9. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    Perth West Australia
    Posts
    757
    Rep Power
    15
    As I replied once before in this forum - look at a 'simple' PERL script, dry your eyes , then look at the equivalent PHP coding, my favourite is....

    mail($recipient,$subject,$Message,$headers).

    beautiful isn't it.

    40 or 50 pages !!!!!!!! if it ever gets off the ground - mail me this I have to see.

    You will obviously havs a massive amount of variables knocking around I beleive you will find the easy way PHP deals with variables and variable variables almost a must.

    But the reason I personally love PHP is.... even when dealing with subjects I am not used to dealing with, and have no prior knowledge of ie:writing to flatfiles etc(I was weaned on databases) it only takes a short period to get the grasp of -whatever- in PHP, you can acheive a lot often without even knowing how you did it!(a bad thing) but get it done nonetheless(a good thing).

    Ok finished waving my stick now - think I will go find a PERL programmer - better still an ASP head to poke with it.


    Regards
    Simon.



    ------------------
    Simon Wheeler
    FirePages -DHTML/PHP/MySQL

Similar Threads

  1. I know PHP: why learn PERL?
    By dreamstring in forum Perl Programming
    Replies: 6
    Last Post: February 19th, 2004, 08:17 AM
  2. Replies: 2
    Last Post: February 9th, 2004, 01:22 PM
  3. Perl to PHP converter
    By superprogrammer in forum Project Help Wanted
    Replies: 0
    Last Post: February 7th, 2004, 11:36 AM
  4. Pass Perl variable through PHP to browser?
    By dvd in forum Perl Programming
    Replies: 6
    Last Post: January 18th, 2004, 01:37 PM
  5. I've got PHP and I need Perl!
    By Jaydan_W in forum Perl Programming
    Replies: 4
    Last Post: January 17th, 2004, 01:00 AM

IMN logo majestic logo threadwatch logo seochat tools logo