| | #1 |
| Banned Join Date: 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
What is different between PHP site and ASP site ?
|
| |
| | #2 |
| HyperActive Warrior War Room Member Join Date: 2005 Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
|
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. |
| | |
| |
| | #3 |
| <LunLun /> War Room Member Join Date: 2008 Location: ~Virtual = Valea Caselor (Romania)
Posts: 419
Thanks: 115
Thanked 42 Times in 33 Posts
Blog Entries: 15 |
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). |
| | |
| |
| | #4 |
| Graham Clarke Join Date: 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
Stick with linux servers if you can. If you run a windows server risk of being hacked is substantially higher.
|
| | |
| |
| | #5 |
| VIP Warrior War Room Member |
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. |
| |
| | #6 | |
| HyperActive Warrior War Room Member Join Date: 2005 Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
|
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) | |
| | ||
| |
| | #7 | |
| HyperActive Warrior War Room Member Join Date: 2005 Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
|
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. | |
| | ||
| |
| | #8 |
| White Hat Marketer War Room Member Join Date: 2007 Location: Montgomeryville, PA
Posts: 1,546
Thanks: 77
Thanked 775 Times in 267 Posts
|
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. |
| | |
| |
| | #9 |
| <LunLun /> War Room Member Join Date: 2008 Location: ~Virtual = Valea Caselor (Romania)
Posts: 419
Thanks: 115
Thanked 42 Times in 33 Posts
Blog Entries: 15 |
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. |
| | |
| |
| | #10 | |
| HyperActive Warrior War Room Member Join Date: 2005 Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
|
Self recursion ![]() I was thinking that the "original" PHP was either PERL or PYTHON preprocessor for the first P, and someone changed it later. | |
| | ||
| |
| | #11 | |
| HyperActive Warrior War Room Member Join Date: 2005 Location: Auckland, New Zealand.
Posts: 235
Thanks: 4
Thanked 18 Times in 16 Posts
|
And I'm going to go stop being passive aggressive and get some sleep instead. | |
| | ||
| |
| | #12 |
| Technology Adviser Join Date: 2008 Location: Canada
Posts: 54
Thanks: 3
Thanked 2 Times in 2 Posts
|
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.
| |
| |
|
| Bookmarks |
| Tags |
| suggest |
| |