UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  eUKhost's Official Web Hosting Forum > Web Hosting and Domains > Javascript - Ajax - Tomcat

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 26-07-2007, 08:25
Ben's Avatar
Ben Ben is offline
Customer Interaction and Editor for eUKhost Blog/Knowledgebase
 
Join Date: Jan 2007
Location: UK
Posts: 2,306
Default PHP, ASP or Perl?

All three languages do pretty much similar things, for me the easiest amongst PHP, ASP and Perl to learn has got to be PHP. Anyway, PHP & ASP can do pretty much the same thing, but for me PHP has got to be the best. It's easy to use and finally, I can make my own PHP scripts, after switching from ASP, PHP, etc. PHP is very logical unlike ASP. Nonetheless, both of them can do pretty much the same thing.
__________________
eUKhost Web Hosting Blog - eUKhost Web Hosting Knowledgebase
Domains Registrations @ £7.49pa! - Download the official eUKhost Android and iOS App!
Find out about our new cloud hosting platform: eNlight Cloud!
Support: support [@] eukhost.com / 0808 262 0455
Sales: sales[@]eukhost.com / 0808 262 0255
Feedback Dept: feedback[@]eukhost.com

Live in the US? Please say NO to the SOPA/PIPA Bill (Stop Online Piracy Act) (Protect IP Act). It can be devastating to Internet freedom, speech and expression.
=
The press, on a daily basis, are distorting our perception and opinions. They are not always completely honest, truthful and fully rounded in what they publish as they may portray in a particular way, in a particular one-sided context or be biased. Please, don't believe everything you read and hear.

Last edited by Ben; 25-02-2008 at 13:29.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 26-07-2007, 12:20
Premium Member
 
Join Date: Mar 2007
Posts: 485
Default

I like ASP but I've moved over to PHP for the simple reason that it's very well supported via the online community - it's still in development, being a very active open source language and unlike ASP, you don't require a windows server to run it. PHP is fast becoming a very powerful language and to some extent has replaced perl for many web developers. For anyone about to choose a development language I'd certainly suggest PHP.
__________________
http://shubox.net
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 27-07-2007, 13:40
DPS Computing's Avatar
Moderator
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 7,504
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

PHP forever!! - it is platform independant and the most supported!
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 31-07-2007, 11:28
paul's Avatar
Moderator
 
Join Date: Nov 2005
Posts: 2,518
Default

I think Perl is almost dead, I would prefer for PHP & ASP, however every language has its own benefits and usess that actually depends on your need.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 31-07-2007, 19:07
DPS Computing's Avatar
Moderator
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 7,504
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

The thing with Perl is that it is old and less supported and seems to be gradually dieing the more it lives on . Sadly, it does seem to have been superseeded by languages like ASP and PHP. I can't think of any programs that have been updated recently that are still written in Perl although I am sure there is still a couple out there .
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-08-2007, 09:59
paul's Avatar
Moderator
 
Join Date: Nov 2005
Posts: 2,518
Default

Yeah also the reason Perl is fading away it lack interest of good programmers and overshadowed by other languages. However I see a good future of PHP & ROR..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-08-2007, 12:46
DPS Computing's Avatar
Moderator
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 7,504
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Oh yes most definitely, RoR looks like it is going to take off. Once the people at the top of the programming field start forgetting about a language it does tend to go downhill from there unfortunately.

However you still do get avid supporters who continue to use it and program little applications in it which keep some older and less used languages going.

Also, when the community starts to dwindle, more people leave said community for a more well supported language. This works the same for forums software, CMSs, blogs etc as well .
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-08-2007, 12:48
paul's Avatar
Moderator
 
Join Date: Nov 2005
Posts: 2,518
Default

Quote:
Originally Posted by DPS Computing View Post
Oh yes most definitely, RoR looks like it is going to take off. Once the people at the top of the programming field start forgetting about a language it does tend to go downhill from there unfortunately.

However you still do get avid supporters who continue to use it and program little applications in it which keep some older and less used languages going.

Also, when the community starts to dwindle, more people leave said community for a more well supported language. This works the same for forums software, CMSs, blogs etc as well .
You are right about RoR, it is getting good pick up and beside it C++ as well growing somewhat and interestingly Lua enters top 20'. tiobe.com/tpci.htm
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 25-01-2008, 10:52
mephisto's Avatar
Senior Member
 
Join Date: Feb 2007
Location: Darlington
Posts: 101
Send a message via ICQ to mephisto Send a message via MSN to mephisto
Default

I used both ASP and PHP at work, as well as many others, and I find that I code much faster in PHP because there are so many ways of doing things that simplify your code. For example, to print out the letters A to Z separated by a comma

ASP:

Code:
<%
Dim i
For i = 65 To 90
   If i > 65 And i < 90 Then
      Response.Write ","
   End If
   Response.Write Chr(i)
Next
%>
PHP Code:
<?php
echo implode(','range('A''Z'));
?>
That's only a small example, but once you start getting into better object orientated stuff, PHP beats ASP hands down. ASP has no concept of asbtraction, inheritance or interfaces and it can't do reflection or dynamic function calls like PHP's callback feature.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 25-01-2008, 11:35
Senior Member
 
Join Date: May 2007
Location: Newport, Wales
Posts: 992
Send a message via AIM to WelshTom Send a message via MSN to WelshTom Send a message via Yahoo to WelshTom
Default

PHP all the way
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 25-01-2008, 13:04
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 5,925
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

I thought ASP was more secure though its complicated.

Anyways, now I'll switch to PHP
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || Skype : mark_ducadi
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Please email cmo[at]eukhost.com if you have any questions or need my assistance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 25-01-2008, 16:35
mephisto's Avatar
Senior Member
 
Join Date: Feb 2007
Location: Darlington
Posts: 101
Send a message via ICQ to mephisto Send a message via MSN to mephisto
Default

Are we talking about ASP or ASP.NET?? Certainly PHP is more secure than ASP, well of course that all depends on the code written, but there are more controls in place to secure PHP.

Eg. with PDO you can put your connection string to a database in the php.ini file and then just reference to it in your code. Which means you don't need to code in the database password.

The other thing PHP has over ASP is that it's still maintained.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 25-01-2008, 21:15
eUKhost.com's Avatar
Chief Marketing Officer
 
Join Date: Sep 2005
Posts: 5,925
Send a message via AIM to eUKhost.com Send a message via MSN to eUKhost.com Send a message via Skype™ to eUKhost.com
Default

Quote:
Originally Posted by mephisto View Post
Are we talking about ASP or ASP.NET?? Certainly PHP is more secure than ASP, well of course that all depends on the code written, but there are more controls in place to secure PHP.

Eg. with PDO you can put your connection string to a database in the php.ini file and then just reference to it in your code. Which means you don't need to code in the database password.

The other thing PHP has over ASP is that it's still maintained.
What about ASP.NET ?

is ASP.NET secure than PHP or no ?
__________________
UK Web Hosting || Business Hosting || eUKhost Knowledgebase
Toll Free : 0808 262 0255 || Skype : mark_ducadi
A bunch of Sheep led by a Lion is better than a bunch of Lions led by a Sheep.
__________________________________________________

Please email cmo[at]eukhost.com if you have any questions or need my assistance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 25-01-2008, 22:08
mephisto's Avatar
Senior Member
 
Join Date: Feb 2007
Location: Darlington
Posts: 101
Send a message via ICQ to mephisto Send a message via MSN to mephisto
Default

About the same, the majority of times its not down the programming language, its down to the configuration of the hosting environment.

Personally I feel like open source solutions are generally more secure, because a security issue can be found by a wider community and so fixed earlier. Whereas with closed source, such as ASP.NET you're mostly reliant on the manufacturers to find them.

That's probably going to upset some people who love ASP.NET, but that's just my opinion.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 25-01-2008, 22:53
flesso's Avatar
Premium Member
 
Join Date: Mar 2007
Location: 127.0.0.1
Posts: 1,652
Default

Quote:
Originally Posted by mephisto View Post
About the same, the majority of times its not down the programming language, its down to the configuration of the hosting environment.

Personally I feel like open source solutions are generally more secure, because a security issue can be found by a wider community and so fixed earlier. Whereas with closed source, such as ASP.NET you're mostly reliant on the manufacturers to find them.

That's probably going to upset some people who love ASP.NET, but that's just my opinion.
But then you could argue that if a bug is found in an open source base, then it would be pretty easy for a hacker to exploit it; with closed source bases, it would be harder for the bug to be found and for a hacker to then exploit it.
__________________
Josh

Resident Blogger
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 26-01-2008, 00:36
mephisto's Avatar
Senior Member
 
Join Date: Feb 2007
Location: Darlington
Posts: 101
Send a message via ICQ to mephisto Send a message via MSN to mephisto
Default

Quote:
Originally Posted by flesco
But then you could argue that if a bug is found in an open source base, then it would be pretty easy for a hacker to exploit it; with closed source bases, it would be harder for the bug to be found and for a hacker to then exploit it.
Yes that's also true, it's the other side of the coin. However it depends how the bug is found, with open source it's not just hackers who would be looking for them, it's also open for people to find them and highlight as bugs, which would mean it would get fixed quicker.

With closed source how can the general public find these security holes? They'd have to hack, and the people who know how to hack are hackers, I don't think they'd want to report that they've found a successful way to hack; so it wouldn't get fixed as quickly.

The majority of the times it down to the coder, not the language.

For example how many of you have developed using inline queries? If you have a login box which does the following query.

ASP
Code:
Dim sql
sql = "SELECT * FROM user WHERE username = '" & Request.Form("username") & "' AND password = '" & Request.Form("password") & "'"
PHP
PHP Code:
$sql "SELECT * FROM user WHERE username = '" $_POST['username'] . "' AND password = '" $_POST['password'] . "'"
Both of these are insecure as each other. If a someone knew a username eg. mephisto, then all they need to pass the above login is type the username as mephisto' -- and the password could be anything.

Which would make the SQL Server query
Code:
SELECT * FROM user WHERE username = 'mephisto' --' AND password = ''
everything after the -- is a comment, so this effectively

Code:
SELECT * FROM user WHERE username = 'mephisto'
and there you have a sucessful login, regardless of the programing language, just down to the code.

Best way around this is to use prepared statements, or at least escape your values.

For those who are wondering, I just tried this with eUKHosts forums and it doesn't bypass the login
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 23-06-2008, 08:20
new member
 
Join Date: Jun 2008
Posts: 3
Default

Hello
I like both php and asp, PHP is more secure than asp and becoming more powerful language.PHP is good language for web development.


_______________

Website Hosting development
Free templates
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 28-07-2008, 11:42
Ben's Avatar
Ben Ben is offline
Customer Interaction and Editor for eUKhost Blog/Knowledgebase
 
Join Date: Jan 2007
Location: UK
Posts: 2,306
Default

Quote:
Originally Posted by Maddy12 View Post
Hello
I like both php and asp, PHP is more secure than asp and becoming more powerful language.PHP is good language for web development.


_______________

Website Hosting development
Free templates
Hard to contemplate which programming language is the most secure; but oddly there are a lot of security issues being posted in the PHP Bug's database - not sure if this is because they aren't being addressed quickly enough.

You could say that because PHP has more things to work with but ASP is pretty much the same in terms of what it can make, and you could make the same type of application in both PHP and ASP; but it may vary differently to the finishing time.
__________________
eUKhost Web Hosting Blog - eUKhost Web Hosting Knowledgebase
Domains Registrations @ £7.49pa! - Download the official eUKhost Android and iOS App!
Find out about our new cloud hosting platform: eNlight Cloud!
Support: support [@] eukhost.com / 0808 262 0455
Sales: sales[@]eukhost.com / 0808 262 0255
Feedback Dept: feedback[@]eukhost.com

Live in the US? Please say NO to the SOPA/PIPA Bill (Stop Online Piracy Act) (Protect IP Act). It can be devastating to Internet freedom, speech and expression.
=
The press, on a daily basis, are distorting our perception and opinions. They are not always completely honest, truthful and fully rounded in what they publish as they may portray in a particular way, in a particular one-sided context or be biased. Please, don't believe everything you read and hear.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 29-07-2008, 10:07
flesso's Avatar
Premium Member
 
Join Date: Mar 2007
Location: 127.0.0.1
Posts: 1,652
Default

PHP is better in terms of functionality and simplicity. ASP on the other hand is a bulky language meaning that it normally takes 100s of lines just to get something to work which would only take 1 line in PHP. And as we all know PHP is free, meaning that anyone with a computer capable of running Apache can install PHP so they can start to learn it.

And why am I taking the side of PHP when I mainly write in ASP
__________________
Josh

Resident Blogger
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 29-07-2008, 10:34
DPS Computing's Avatar
Moderator
 
Join Date: Apr 2007
Location: Manchester, United Kingdom
Posts: 7,504
Send a message via ICQ to DPS Computing Send a message via AIM to DPS Computing Send a message via MSN to DPS Computing Send a message via Yahoo to DPS Computing Send a message via Skype™ to DPS Computing
Default

Quote:
Originally Posted by flesso View Post
PHP is better in terms of functionality and simplicity. ASP on the other hand is a bulky language meaning that it normally takes 100s of lines just to get something to work which would only take 1 line in PHP. And as we all know PHP is free, meaning that anyone with a computer capable of running Apache can install PHP so they can start to learn it.

And why am I taking the side of PHP when I mainly write in ASP
Because you know ASP has been tainted by Microsoft?
__________________
David Smith
DPS Computing
http://www.dpscomputing.com (Computing, Reviews, News) - We're still plodding on adding new content and features (August 2011)
http://www.djdavid.co.uk - Massive update! (September 2011) - It's now not neglected!!
http://davidsmith.dpscomputing.com (My Personal Website) - New Site (10/2009)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT. The time now is 21:07.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
UK Web Hosting by eUKHosting 3.1.0
UK Web Hosting by eUKHosting 3.1.0
Copyright © 2001-2012, eUKhost LTD. All rights reserved.

 


UK VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

VoIP Dedicated Servers
Asterisk, Trixbox Dedicated Servers

Business Web Hosting
100% uptime Hosting

UK Cpanel Hosting
cPanel Shared Hosting

Domain Hosting
Cheap Domains & Hosting Plans

UK Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

ColdFusion Hosting
ColdFusion Web Hosting
 
 

Android and Apple App


knowledgebase articles
eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting

Joomla Hosting
Joomla Web Hosting

Mambo Hosting
Mambo Web Hosting

Magento Hosting
Magento Web Hosting

Wordpress Hosting
Wordpress Web Hosting

 

Web Hosting Affiliate Program
 

popular blog categories

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles