LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-25-2002, 09:37 AM   #1
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
Question PHP verses CGI Perl


On my website I use simple html with cgi/perl to connect and maintain a mysql db. I'm very comfortable with perl and cgi but was considering moving to php because of speed benefits.

Recently I read the php security vunerablilites with apache and linux and it made me very nervous.

perl-cgi or php apache module with mysql, Opinions?

thanks.
 
Old 03-27-2002, 12:53 PM   #2
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
personally, i'm a huge fan of php. i've been using it along with mysql for awhile now, and have never had any security issues.

in my opinion, the difference between PHP and perl (just started getting into perl a few months ago) is that PHP is generally a little easier to work with, but you don't have the flexibility you do with perl (especially when working with reg-exs).

however, PHP was designed to be used primarily on the web, whereas perl was not. so PHP has its advantages there. in terms of shell scripting, perl is the obvious choice. but on the web end, PHP can do most anything perl can, and most of the time with easier to understand code.

at least in my opinion.
 
Old 03-28-2002, 07:51 AM   #3
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Original Poster
Rep: Reputation: 30
The PHP security issue I'm referring to is here and it's major:
http://security.e-matters.de/advisories/012002.html

Having been hacked before I'm sensitive to this but there is a fix.

Do you see any noticeable performance improvements from php to perl?

-tom
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl CGI:Can't locate CGI.pm supermyself Programming 13 09-10-2007 06:22 AM
CMS Perl/CGI/PHP script ANU Programming 2 10-25-2006 10:11 AM
call perl cgi script from php j-ray Programming 2 01-14-2005 08:23 AM
/perl/php/cgi/mysql dramous Linux - Newbie 0 10-08-2004 05:11 PM
cgi perl : I cant get perl to append my html file... the_y_man Programming 3 03-22-2004 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration