Previous Thread
Next Thread
Print Thread
Rate Thread
#104094 05/07/2001 10:35 AM
Joined: Feb 2001
Posts: 27
Rob
Offline
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 27
SHould I put CGI or PHP on my site. If possible could someone maybe list advantages and disadvantages for each... Thanks alot

Sponsored Links
#104095 05/07/2001 12:25 PM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379

#104096 05/16/2001 5:07 PM
Joined: Apr 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 11
Actually, the Perl language is faster than PHP, however...

Perl runs as a CGI application. Therefore, the Perl interpreter is created and destroyed for each script called. This slows down response time and uses somewhat more resources. PHP is (on 99% of servers) loaded as a server module, whether it be ISAPI or apache module, it runs in conjunction with the server. Therefore, this speeds up the process greatly, as the PHP/Zend interpreter only has to be loaded at the server startup.

#104097 05/17/2001 2:46 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
I'm guessing you don't know what you're talking about?

PHP is not on 99% of servers. It's close to about 40% now i believe. Perl is just as capable of running as an apache mod or ISAPI as PHP is. In fact, in the last netcraft survey, mod_perl (the apache mod version of perl) was found on more servers than PHP was. PHP also runs in CGI mode by default on windows. Please get your facts straight.

Just a thought smile

#104098 05/17/2001 7:52 AM
Joined: Dec 2000
Posts: 237
Member
Member
Offline
Joined: Dec 2000
Posts: 237
I love PHP

I used to think CGI was better too. My forums used to be ubb6, as a matter of fact i entered them into the spotlight contest this month and before i used to get tons of these retarded "CGI timeouts" but now i've switched to a new server and am running phpBB and i like it much much better than UBB. It runs much smoother than ubb and it loads quicker too. I even made my entire webpage out of php and its awesome smile Check it out:

http://www.serialkillaz.f2s.com

My only use now for the Infopop Member's area is to check out the hacks and updates and hopefully translate features to php smile

[ May 17, 2001 07:54 AM: Message edited by: psychopathic ]

Sponsored Links
#104099 05/17/2001 4:03 PM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
psychopathic, CGI is a spec., not a language. get it right.

#104100 05/18/2001 5:40 PM
Joined: Apr 2001
Posts: 11
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 11
I meant that PHP was loaded as a server module/ISAPI on 99% of servers that have PHP. Sorry for the confusion shocked .

Also, you might want to check at:

http://www.securityspace.com/s_survey/data/man.200104/apachemods.html

That says i'm right and you're wrong wink.

[ May 18, 2001 05:45 PM: Message edited by: bk111 ]

#104101 05/18/2001 5:52 PM
Joined: Mar 2000
Posts: 615
Member
Member
Offline
Joined: Mar 2000
Posts: 615
That link you gave only shows that PHP is installed as an apache module more than perl is.

#104102 05/19/2001 12:00 AM
Joined: Dec 2000
Posts: 237
Member
Member
Offline
Joined: Dec 2000
Posts: 237
Quote
quote:
uhhh... where in my post did i say it was a language?

#104103 05/19/2001 2:07 AM
Joined: Oct 2000
Posts: 192
Member
Member
Offline
Joined: Oct 2000
Posts: 192
Quote
quote:
Heh-heh... you could have edit your post. :rolleyes:

Sponsored Links
#104104 05/19/2001 6:15 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Quote
quote:
Still not true i'm afraid. PHP ISAPI on windows is still 'experimental' and 'should not be used in a production environment'.

Just a thought smile

#104105 05/19/2001 6:16 AM
Joined: Feb 1999
Posts: 1,379
cal Offline
Programmer
Programmer
Offline
Joined: Feb 1999
Posts: 1,379
Quote
quote:
Those stats include PHP 3. Not everyone is running PHP 4.

Just a thought smile

#104106 05/19/2001 1:37 PM
Joined: Dec 2000
Posts: 237
Member
Member
Offline
Joined: Dec 2000
Posts: 237
Quote
quote:
Yes, and if you had looked a little closer you would have noticed that i edited that post at 7:54 AM and Matt posted his post at 4:03 PM...

Last time i checked, my time machine was broken... tipsy

#104107 05/19/2001 4:22 PM
Joined: Sep 2000
Posts: 4,211
Master Hacker
Master Hacker
Joined: Sep 2000
Posts: 4,211
Quote
quote:
you didn't directly say it, but you inferred it.

#104108 05/19/2001 6:48 PM
Joined: Dec 2000
Posts: 237
Member
Member
Offline
Joined: Dec 2000
Posts: 237
Whoops... lol sorry for the confusion then.. wink


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)