| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 38603 | 2003-10-12 07:34:00 | PHP vs ASP | mejobloggs (264) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 182580 | 2003-10-12 07:34:00 | What one is best? I was planning on learning ASP, but one of my friends said PHP is heaps better. Is this true? Can you do the same things in PHP? Can you have html in a file, and include that in a certain area with PHP? I know you can wtih ASP. Please help |
mejobloggs (264) | ||
| 182581 | 2003-10-12 07:40:00 | I will have to say that PHP is better, but I've only used PHP so it maybe a bias opinion. You can do just the same with ASP as you can with PHP especially including HTML files or any type of file you want. I choose PHP because of the Perl & C/C++ type of functionality which I can program in. ASP is based on VBScript. I would learn PHP, but again that's my opinion, it's really up to you what you want to do, and if you can do. I also say support for PHP is better than for ASP. |
Kame (312) | ||
| 182582 | 2003-10-12 07:42:00 | > What one is best? In my option PHP is better (and asp runs on MS servers ;)) & php might be easier to learn then asp have a look at http://php.net > I was planning on learning ASP, but one of my friends > said PHP is heaps better. > > Is this true? Not too sure, I have not look at ASP yet > Can you do the same things in PHP? See above ^^, but I think you can do more in PHP then in asp & PHP is newer then asp & you might be more work with php/ MYSQL then asp Also you might be able to make $1 K easily doing PHP/MYSQL stuff > Can you have html in a file, and include that in a > certain area with PHP? I know you can wtih ASP. Yep :), just make sure you have the exe .php or the php in it will not work. Hope this helps |
stu140103 (137) | ||
| 182583 | 2003-10-12 07:51:00 | I'd have to vote for PHP. PHP is an open free type thing. ASP isn't. | -=JM=- (16) | ||
| 182584 | 2003-10-12 08:03:00 | > I'd have to vote for PHP. PHP is an open free type > thing. ASP isn't. ^^ What this guy says ^^ PHP is a lot more powerful and has a broader range of potential applications. It's also more likely to follow real standards unlike ASP. |
whiskeytangofoxtrot (438) | ||
| 182585 | 2003-10-12 08:40:00 | Depends on what you are trying the achieve. If you want to learn a tool for server side scripting that might get you some work with corporates, then asp (and maybe even aspx) would be the way to go. But if you want to do one or two websites for yourself then maybe php. Also depends what database you wish to interact with; php is good with mysql; asp is good with Microsoft databases. |
Dolby Digital (160) | ||
| 182586 | 2003-10-12 08:43:00 | Personally I would go for PHP because its open and has better support. By coding in PHP, you aren't restricted to any particular platform and can easily run your scripts using free software. With ASP you are basically stuck with windows and IIS. Also keep in mind that 65% of the web is powered by Apache - a free webserver. It has great support for PHP but because ASP is proprietary, ASP support for it is limited. If you want, you can freely download Apache, PHP and MySQL and run them on your windows (or even linux) computer. I have played around with PHP myself and its quite easy to learn. You can do most things in PHP that you can in ASP (and probably even vice versa) but there aren't really any differences in ability until you get to the really technical stuff. |
segfault (655) | ||
| 182587 | 2003-10-12 11:14:00 | i'm going to have to say ASP (sorry guys) its easy i tryed to learn PHP (didn't get far) also the fact that i had to install linux just to try it didn't help much (i think you can run it from windows somehow) if you have ever used VB it is exactly the same, eg the statments are the same <% 'C O O K I E C H E C K mem=Request . Cookies("Member") response . write("Continue =" & mem) if not mem = "yes" then response . redirect "signin . asp" else end if %> i went to a 9month corse at NATCOLL (www . natcoll . ac . nz) where i did both ASP & PHP and found ASP o be easer also with ASP you can use Microsoft Access Databases, saves having to learn how to use MySQL |
sc0ut (2899) | ||
| 182588 | 2003-10-12 11:15:00 | ***** soz ment to paste out of word . This is what i ment to say Im going to have to say ASP (sorry guys) Its easy I tried to learn PHP (didn't get far) also the fact that i had to install Linux just to try it didn't help much (i think you can run it from windows somehow) If you have ever used VB it is exactly the same, eg the statements are the same <% 'C O O K I E C H E C K mem=Request . Cookies("Member") response . write("Continue =" & mem) if not mem = "yes" then response . redirect "signin . asp" else end if %> I went to a 9month course at NATCOLL (www . natcoll . ac . nz) where i did both ASP & PHP and found ASP o be easer Also with ASP you can use Microsoft Access Databases, saves having to learn how to use MySQL & I believe you can do exactly the same stuff in ASP as PHP Also in the real world it doesnt matter what one you do because all online web hosts allow both . At my work (www . vadal . net) we have a Sun server that allows both |
sc0ut (2899) | ||
| 182589 | 2003-10-12 17:00:00 | ASP may be easier but I think you'll find that php is more powerful and is also more like a true programming language. PHP can interface with access databases as well, haven't tried it though. | -=JM=- (16) | ||
| 1 2 3 | |||||