Better off with PHP3?

nike_guy_man's picture

They have: 840 posts

Joined: Sep 2000

I run online gaming ladders and I have people signing up and reporting matches all the time.
I use CGI/Perl to do this.
I have looked at more developed ladders, and they use PHP and .asp and .gsp pages for this.
What are the advantages/disadvantages of switching?
How would I do this?
Thanks

Laughing out loud

They have: 103 posts

Joined: Apr 1999

Well, I used to use Perl CGI for all of my web programming, but it was always a pain to do databasing. Perl was developed to be used for Unix, not on the web. PHP is basically (and someone's gonna kill me for being this simple) Perl for the web. It has built in functions for databasing, so you don't have to worry about complex classes to connect to a db.

ASP (Active Server Pages) is Microsoft's port of VB to the web (in its most basic sense. Nobody kill me for trying to be simplistic here). ASP is very similar to PHP in terms of what it can do. People tend to use ASP on Windows servers, while people on Unix servers use PHP (but PHP can run on Win, and ASP in some cases can be run in Unix environments).

You also talked about gsp, which I think you were meaning to say JSP. From what I can understand (I'm not real knowledgable about this one), JSP is PHP or ASP but using the Java language. That would mean it is OS independant.

All 3 of the languages are similar in functionality. So what does this mean for you nike man? You might find one of these languages advantageous if you have access to a database server (MySQL, MSSQL, etc). They would be good for you to store all your matches in a database. Otherwise, there is no reason to switch (unless you are developing the software yourself, because in my opinion PHP is easier to use than Perl).

Gil Hildebrand, Jr.
Internet Consultant
New Orleans, LA

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

I would recommend PHP/mySQL.
Gil- Wink

They have: 11 posts

Joined: Jan 2001

Use PHP. Do not use anything MS because it is slow, somewhat buggy, and very unsecure.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.