I think this thread is getting confused after dragging ASP .Net into the scene. The thread is about ASP and PHP, not ASP .Net and PHP .. ASP and ASP .Net have really big difference, so we cannot consider two languages in the same context.
PHP definitely for me. I've never seen an asp site run quickly. Always loaded down with extra code and goes slow. Been to microsoft site lately? Even theirs is slower than it should be and they created it. But I am not totally biased. I use frontpage once in a while for wysig editing php files live on remote hosting servers, so ftp and wondering if it will work or not is eliminated that second.
php is not so safe cuz those chaps release so many versions in so little time no version is 100% stable. whereas, aspx version is released once in lot months. and that is completely stable. i m a php programmer and i know things better in it !
i never used Asp. I think php much faster and relaible then asp. some most importent features of php which are not in asp 1. Open source 2. can use any database 3. more then 70% of website are using php 4. php hosting is cheaper the asp 5. relaible then asp 6. faster then asp 7. Many free tutorials and codes are avaliable
How can you compare ASP with other language if you have NEVER used ASP?? >>>more then 70% of website are using php From where did you get this figure?
Apples to Oranges... its like which is better Mac or PC? They both suck if you ask me, as do most all languages. I've used Basic, Pascal, Perl, Cold Fusion, PHP, C#, and some C. And yes I still think they all suck with their limitations. With all coded apps both desktop and web, you still are at the mercy of some other bigger system surrounding it. Its all a matter of evaluation of business logic and process needs, only then do I decide which language would be best fit. This dicussion is purely opionion oriented! Opionions are like butts we all have them they all stink.
Both do the same thing, php is better marketed and thus more popular. This is like google vs yahoo blue-ray vs hd-dvd male vs female
PHP is marketed? PHP is more popular because it is more popular.... usual circular situation that its original popularity over classic ASP (which even I have to admit was fairly poor) ment a lot of people used it, wrote articles and How To's for it etc.... now if someone new to programming comes along and indepandant of language searches on how to do a "form mail" they are much more likely to find a sample script for PHP than .Net, JSP, CFM etc not because it is better or worse but because there are just so many more of them.
Do you even know what marketed means? As you just said, there are more php scripts, because PHP is better marketed which means, more developers. Which results in more scripts.
Hmmm... wouldnt have said that non-intentional viral marketing would equate to something being better marketed. There arent more scripts because it is better marketed but because it is more common in the same way there are more how to fix Ford cars sites than Mercedes because they are more common and their customer base are more likely to be the self fix type but Mercedes are considered better marketing than Ford.
Why do you think developers prefer php over asp? As you can see this very forum is powered by php. As well as many other popular forums are powered by php such as phpbb and invision. That is because php dominates the industry so much that people tend to stick to whats vastly available to them. Most shared hosts have php installed, people just use whats available. There is a php bbcode, why isn't there a asp bbcode? Hopefully you have understand now.
There is a big difference between a language being popular and an application that happened to have been written in a language being popular. MySpace is written in .Net, does that make .Net popular because the site is? BBCode is simply parphasing text and is independent of the language the site is written in. Community Server (written in ASP.Net) has BBCoding, http://www.codeparser.net/ is a free ASP script for it and it isnt hard to write one from scratch either. Hopefully you now understand the difference between popularity and "best"