473,395 Members | 1,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

What to use? PHP or .Net

Hi!
I'm new to this website development and trying to finish my webpage. Now I'm stuck at the stage where i have to devolop a form for user to imput data and have it sent to my email. (user would upload the picture with name and submit). In order to do that, im not really sure wat to use. Im using windows to build my webpage and would host soon. I looked into PHP, but that requires me to download so many programs to compile. I didnt look into .net yet but if i spend like 2 weeks i could learn pretty much of it. Any suggestions?.
Oct 25 '07 #1
4 1784
drhowarddrfine
7,435 Expert 4TB
This could start a religious war. If you knew one or the other I would say use that, but since you know neither, you need to think of the features and benefits. This should go under the Software Development forum and I will transfer it there after I respond.

PHP is a very popular language and you will get much support and information all over the 'net. It works on all platforms everywhere and finding a host that will allow you to run it will be easy.

.NET is a Windows only "framework", that means it is NOT a language at all but an interface between a language and the operating system, server, or what have you. In addition to knowing how .NET works, you will need to learn a programming language, such as ASP.NET for web sites, though I assume PHP works there, too.

Though I use neither, I have always found PHP to be more understandable and made more sense without all the .NET stuff.

Two other languages you might look into are Python and Ruby. Both also run on all platforms. Again, I use neither but did a lot of reading into both (though hardly an expert).

Python appears to have some advantages over PHP and many bleeding edge developers swear by it, but its methods are similar to PHP.

Ruby, otoh, is more object oriented and seems to be the hot topic of the day.

If I were to look into using a scripting language, I would use one of the two, and probably Ruby.
Oct 25 '07 #2
numberwhun
3,509 Expert Mod 2GB
Hi!
I'm new to this website development and trying to finish my webpage. Now I'm stuck at the stage where i have to devolop a form for user to imput data and have it sent to my email. (user would upload the picture with name and submit). In order to do that, im not really sure wat to use. Im using windows to build my webpage and would host soon. I looked into PHP, but that requires me to download so many programs to compile. I didnt look into .net yet but if i spend like 2 weeks i could learn pretty much of it. Any suggestions?.
A user form to upload a file and submit to you via email? I would go with Perl, but that is partly my biased side talking as that is my forte. But, on my non-biased side, Perl was designed for handling text and files and is what it does best.

Regards,

Jeff
Oct 25 '07 #3
LacrosseB0ss
113 100+
In terms of e-mailing things I usually use php code for this. Anything else more complex I'm an ASP person. It also depends on your server. Linux servers won't support ASP (I found this out the hard way early on in my career) but php is supported almost everywhere.

I think a lot of employers these days are looking for ASP or .NET framework experience. I'm in college so I've been checking this out. PHP can be finicky and there's not a lot of development tools whereas Visual Studio or something of that nature will help with ASP.

As was previously mentioned, this is a civil war in the programming industry. Personally, I prefer ASP but there are times when you can't use it. PHP is a good 2nd alternative. My advise: check your server first. If it's Linux, your choice is made for you. If it's Windows, I would say ASP
Nov 4 '07 #4
debasisdas
8,127 Expert 4TB
PHP and .Net both are good alternative of each other .I would go for .NET . But don't get biased by what i or others say use the one in which you are having good knowledge or which suits best to your environment.
Nov 4 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: thecrow | last post by:
Alright, what the hell is going on here? In the following code, I expect the printed result to be: DEBUG: frank's last name is burns. Instead, what I get is: DEBUG: frank's last name is...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
699
by: mike420 | last post by:
I think everyone who used Python will agree that its syntax is the best thing going for it. It is very readable and easy for everyone to learn. But, Python does not a have very good macro...
92
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption?...
137
by: Philippe C. Martin | last post by:
I apologize in advance for launching this post but I might get enlightment somehow (PS: I am _very_ agnostic ;-). - 1) I do not consider my intelligence/education above average - 2) I am very...
12
by: Dario | last post by:
The following simple program behaves differently in Windows and Linux . #include <stdexcept> #include <iostream> #include <string> using namespace std; class LogicError : public logic_error {...
125
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from...
47
by: Neal | last post by:
Patrick Griffiths weighs in on the CSS vs table layout debate in his blog entry "Tables my ass" - http://www.htmldog.com/ptg/archives/000049.php . A quite good article.
121
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode...
8
by: Midnight Java Junkie | last post by:
Dear Colleagues: I feel that the dumbest questions are those that are never asked. I have been given the opportunity to get into .NET. Our organization has a subscription with Microsoft that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.