Sure.... ASP can't do associative arrays ASP can only do numerical multi-dimension arrays ASP can't do serious string manipulation ASP carries way too much around in each function call--global scope all the time for all variables ASP cannot short-circuit a boolean expression ASP database connection is very cryptic (because of COM) and lengthy to perform the simplist of queries ASP confuses functions and data structures--arrays and functions ASP only recognizes strings as double-quote deliminited ASP does not have mult-line comments ASP doesn't understand external http or ftp resources
PHP can do COM just like ASP PHP does associative, multi-dimension arrays without having to declare them as such--$my['one']['two']['three'] = 'hello world'--just created a 3-dimensional associative array PHP's structure is WAY more simplistic PHP can short circuit boolean expressions PHP has very straightforward type casting and conversion mechanisms PHP has output buffering and output filtering built in PHP has VERY simple user error-handling mechanism--error_handler('yourFunctionName') PHP can do variable variables--$var = 'hello'; $hello = 'world'; echo $$var;--just ourput 'world'; PHP can do variable functions--function foo() {echo 'hello';} $var = 'foo'; $var();--just printed 'hello' PHP is so much faster! (benchmarks that I've seen on linux/apache -> win/iis) PHP can natively open and write to sockets PHP can open ftp and http resources PHP has a very complete set of regular expressions that are tied nicely to their string and array functions PHP has an enormous amount of built in features and functions that ASP does not PHP can send email without any additional downloads and cost The list can go on and on....I have yet (4 years) to find something that ASP can do that PHP can't....It took a day of coding ASP before I found tons of things that ASP couldn't do that PHP could. The PHP developers are absolutely incredible!!!! :-) I am well-aware that there are 3rd party components to ASP that offer a good deal of functionality, but usually on a per server or per cpu cost. This, of course, is in addition to the cost of the software and all appropriate licenses. Microsoft has done a great job of improving ASP in ASP.Net, however, when you start out with crap, it is not rocket science to make it a little tastier and a little fresher. Also, READ the fine print on Microsoft's new licenses before you go ANY further down that road. > -----Original Message----- > From: "Spychala, Wojciech" [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 6:39 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] ASP and PHP > > > is there somebody who can write few points why PHP is better > than asp and > why is worse? > > Thanks very much > > Bitter > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php