Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 17th Oct 2008, 06:54 AM   #1
Banned
 
Join Date: 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

What is different between PHP site and ASP site ?
JIYA is offline  
Unread 19th Oct 2008, 03:40 AM   #2
HyperActive Warrior
War Room Member
 
rwil02's Avatar
 
Join Date: 2005
Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

Rob Pretty much covered it.
ASP (Active Server Pages) uses VB script and mostly runs on windows servers.
PHP (Perl Hyperscript Processor?) mostly runs on Linux.

There are ways of running each on other systems.

These days you would be better off using ASP.NET than ASP, and you can run a version of that called Mono on *nix, or using the .NET framework on windows.

Roger Willcocks
L-Space Design
Please vote to help me win a 3kW solar array
rwil02 is offline  
Unread 23rd Oct 2008, 11:20 AM   #3
<LunLun />
War Room Member
 
Sergiu FUNIERU's Avatar
 
Join Date: 2008
Location: ~Virtual = Valea Caselor (Romania)
Posts: 419
Thanks: 115
Thanked 42 Times in 33 Posts
Blog Entries: 15
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

What's the difference between English (php) and Chinese (asp)? A lot of people speak both languages, but English seems to be easier to learn. You can write programs in both languages, but a lot of good programs (phpBB, WordPress and vBulletin which you use write now to read this text) are written (only) in php.


ASP can run only on Windows platforms, while PHP can run both on Windows and Linux platforms (with better performance on Linux).

Sergiu FUNIERU is offline  
Unread 23rd Oct 2008, 11:24 AM   #4
Graham Clarke
 
Join Date: 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

Stick with linux servers if you can. If you run a windows server risk of being hacked is substantially higher.

53 Technology

SimplWeb - hosted Joomla!
gdclarke is offline  
Unread 23rd Oct 2008, 11:46 AM   #5
VIP Warrior
War Room Member
 
Ross Dalangin's Avatar
 
Join Date: 2005
Posts: 1,604
Thanks: 350
Thanked 214 Times in 161 Posts
Blog Entries: 33
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

I suggest you use PHP because there are so many clients are using PHP and servers running linux s cheaper than window based servers. You can run ASP even in linux but you need a third party for that and since PHP has more developers then it is very easy to get codes, optimize and improve.

I was using ASP (year 1997) but found it not secured or I just don't know yet how to secure it. Also, I always have an error accessing the database and since then I jumped into Perl/CGI then stayed in PHP, I think between year 1998 and 1999. Up to now, I still developing PHP applications.
Ross Dalangin is offline  
Unread 23rd Oct 2008, 01:08 PM   #6
HyperActive Warrior
War Room Member
 
rwil02's Avatar
 
Join Date: 2005
Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

Originally Posted by ForumJoiner View Post

What's the difference between English (php) and Chinese (asp)? A lot of people speak both languages, but English seems to be easier to learn. You can write programs in both languages, but a lot of good programs (phpBB, WordPress and vBulletin which you use write now to read this text) are written (only) in php.


ASP can run only on Windows platforms, while PHP can run both on Windows and Linux platforms (with better performance on Linux).

I learned the basics of both PHP and ASP in under 2 hours each. But then I have > 10 years programming experience. Which you find easier depends on what you are familiar with.

ASP, being a BASIC variant (vbScript) is often easier for english speakers to learn, since it
reads much the same as english. PHP is not really any harder if you are familiar with any programming language already.

ASP does run on *nix (including linux), with the appropriate interpreter installed, same as PHP on windows.

ASP.NET will also run on both (*nix uses the Mono framework, Windows uses .NET)

Roger Willcocks
L-Space Design
Please vote to help me win a 3kW solar array
rwil02 is offline  
Unread 23rd Oct 2008, 01:13 PM   #7
HyperActive Warrior
War Room Member
 
rwil02's Avatar
 
Join Date: 2005
Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

Originally Posted by gdclarke View Post

Stick with linux servers if you can. If you run a windows server risk of being hacked is substantially higher.

Your risk of being hacked is proprtional to two things.

1. How common the software you are using is. Hackers target popular apps.
WordPress, vBulletin and phpBB are all common hacker targets that run in PHP on *nix

2. How good your host (and you, you have responsibility too) is at keeping the OS and software patched against known vulnerabilities.

A properly configure W2K3 server set up for web hosting is no more vulnerable than a properly configured *nix server.

And before anyone spouts off about number of bugs found:
1. The real number to worry about is the number found and not fixed, which you will never know
2. There have been numerous months where windows or specific MS software has had fewer bugs reported that the corresponding *nix software.

Roger Willcocks
L-Space Design
Please vote to help me win a 3kW solar array
rwil02 is offline  
Unread 23rd Oct 2008, 01:16 PM   #8
White Hat Marketer
War Room Member
 
Dan Grossman's Avatar
 
Join Date: 2007
Location: Montgomeryville, PA
Posts: 1,546
Thanks: 77
Thanked 775 Times in 267 Posts
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

Originally Posted by rwil02 View Post

PHP (Perl Hyperscript Processor?) mostly runs on Linux.
It's PHP Hypertext Preprocessor, it's not Perl at all (though the syntax is similar as the original developer was a Perl programmer himself).

And it runs as well on Windows as Linux, there is no platform restriction. Most Windows hosting companies will support PHP.

Improvely: Built to track, test and optimize your marketing.

[SIGPIC][/SIGPIC]
Dan Grossman is offline  
Unread 23rd Oct 2008, 01:19 PM   #9
<LunLun />
War Room Member
 
Sergiu FUNIERU's Avatar
 
Join Date: 2008
Location: ~Virtual = Valea Caselor (Romania)
Posts: 419
Thanks: 115
Thanked 42 Times in 33 Posts
Blog Entries: 15
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

I feel that my statement was a bit misleading. When I say that ASP doesn't run on Linux platform I mean that it's not a "out-of-the-box" option on some (shared) hosting Linux plans.

I believe that, with proper adapters, you can run almost everything on every modern platform. For instance, I can run exe files under Linux, if I install Wine, but on Windows I can run exe files even if I don't install anything else.

Sergiu FUNIERU is offline  
Unread 23rd Oct 2008, 02:16 PM   #10
HyperActive Warrior
War Room Member
 
rwil02's Avatar
 
Join Date: 2005
Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

Originally Posted by Dan Grossman View Post

It's PHP Hypertext Preprocessor, it's not Perl at all (though the syntax is similar as the original developer was a Perl programmer himself).

And it runs as well on Windows as Linux, there is no platform restriction. Most Windows hosting companies will support PHP.
Hi Dan.

Self recursion
I was thinking that the "original" PHP was either PERL or PYTHON preprocessor for the first P, and someone changed it later.

Roger Willcocks
L-Space Design
Please vote to help me win a 3kW solar array
rwil02 is offline  
Unread 23rd Oct 2008, 02:17 PM   #11
HyperActive Warrior
War Room Member
 
rwil02's Avatar
 
Join Date: 2005
Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

Originally Posted by ForumJoiner View Post

I feel that my statement was a bit misleading. When I say that ASP doesn't run on Linux platform I mean that it's not a "out-of-the-box" option on some (shared) hosting Linux plans.

I believe that, with proper adapters, you can run almost everything on every modern platform. For instance, I can run exe files under Linux, if I install Wine, but on Windows I can run exe files even if I don't install anything else.
True enough.
And I'm going to go stop being passive aggressive and get some sleep instead.

Roger Willcocks
L-Space Design
Please vote to help me win a 3kW solar array
rwil02 is offline  
Unread 7th Nov 2008, 10:19 PM   #12
Technology Adviser
 
Join Date: 2008
Location: Canada
Posts: 54
Thanks: 3
Thanked 2 Times in 2 Posts
Default
Re: PLEASE SUGGEST
Share on: 
fb share twitter share gplus share more share

Someone is going to kill me for dragging up this old thread but please beg my pardon - I just found out about this part of the site

PHP used to stand for Personal Home Page but if I remember correctly it was voted on at or just prior to version 3 (my dates may be wrong) and changed to the recursive acronym "PHP Hypertext Processor".

I liked PHP because I came from C and it has very similar elements to C but was able to remove some cumbersome processes and use PERL syntax as well. Great, now I keep forgetting to declare and initialize variables in C! And arrays, oy!

There's a difference between effective and efficient programming. Anyone can be effective. I strive to be efficient.
Plinko is offline  
Closed Thread


Bookmarks

Tags
suggest


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




All times are GMT -6. The time now is 09:25 AM.