gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

OffTopic > PHP or ASP.NET for connecting to the Database(MySQL)

#142942 - khan - Mon Oct 15, 2007 11:45 am

Hi all,

I have finally finished designing my web interface, however, I would like to ask you guys to tell me, which server-side scripting language(PHP or ASP.NET) to use on my website when connecting to the database(MySQL)?

Is there a website/book which I might be able to use as a reference to determine which is better for this particular task.

I am already familiar with PHP but hardly know anything about ASP.NET but I know for a fact that ASP.NET is also widely used on websites.

Comparison might be the right word for my question, as in which performs better, easier to code and securer from hacking etc...

Anyone please help me make a decision.

#142943 - Lick - Mon Oct 15, 2007 12:00 pm

If your server is running Linux, use PHP.
If your server is running Windows, use ASP.NET.
_________________
http://licklick.wordpress.com

#142947 - tepples - Mon Oct 15, 2007 12:42 pm

Is there a problem with PHP on Windows? Right now my production server runs PHP on *n?x (haven't checked if it's FreeBSD or Linux) and my development server runs PHP on Windows.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#142948 - Lick - Mon Oct 15, 2007 12:49 pm

No, I'm just hoping that he runs *n?x so my answer is valid.
_________________
http://licklick.wordpress.com

#142949 - Vich - Mon Oct 15, 2007 1:05 pm

I'd go for PHP in any case, since it doesn't narrow down your website platform to Windows.
I also like PHP5 better than PHP4 since it supports OO programming a lot better.
_________________
[project website] [personal website]