/    Sign up×
Community /Pin to ProfileBookmark

Something PHP cannot do that ASP.net can?

Hi

The other day I was having a debate with one of my friend on the topic “ASP.net v/s PHP”.

He said that ASP.net can interact with the OS and the hardware but PHP cannot. Is this true? Is this PHP’s limitation that it cannot interact with the OS or the hardware??

Please if anyone can throw some light on this?

Many Thanks

*PS: Here were are referring Windows as the OS.

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@opifexNov 14.2009 — A very dangerous thing... WMI (Windows Management Instrumentation) through the .NET framework. M$ designed it for admin control and goodies like repairing the OS and is a vulnerability that has been use in many exploits.

Here is an old article about it. I really don't know how many fingers you need to have in the dike anymore... I'm sure some of the problems have been addressed and new ones have been created.
Copy linkTweet thisAlerts:
@NogDogNov 14.2009 — The various system()/exec()/shell_exec() functions in PHP allow you to do anything on the host you could do from the command line (assuming the user under whom the script is executed has the necessary permissions). As alluded to above, as far as web applications go, the ability to interact directly with the OS is a double-edged sword, though.

As far as "which language is best" arguments go, programmers are generally very good at finding reasons that their favorite language is better. ? (For instance, Java fans will complain that Perl is too unstructured, while Perl fans will cite that as a feature, making Perl more flexible.)
Copy linkTweet thisAlerts:
@ssystemsNov 14.2009 — 
programmers are generally very good at finding reasons that their favorite language is better. ?[/QUOTE]


Right on the money!!! As for me all languages as long as they are on the same generation and category (server side, etc) are virtually equal and its up to you to accomplish your requirements.
Copy linkTweet thisAlerts:
@MindzaiNov 14.2009 — As far as "which language is best" arguments go, programmers are generally very good at finding reasons that their favorite language is better.[/QUOTE]

Of couse one argument that it's very hard to disagree with is that PHP is FOSS, whereas as ASP is about as far from that as possible being an MS technology.
Copy linkTweet thisAlerts:
@Mr_Initial_ManNov 15.2009 — Foss?
Copy linkTweet thisAlerts:
@NogDogNov 15.2009 — Foss?[/QUOTE]

Free and Open Source Software

(And by the way, there are some who will argue in favor of proprietary software over FOSS.)
×

Success!

Help @phantom007 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...