by JIYA Banned
11 replies
What is different between PHP site and ASP site ?
#suggest
  • Profile picture of the author rwil02
    Rob Pretty much covered it.
    ASP (Active Server Pages) uses VB script and mostly runs on windows servers.
    PHP (Perl Hyperscript Processor?) mostly runs on Linux.

    There are ways of running each on other systems.

    These days you would be better off using ASP.NET than ASP, and you can run a version of that called Mono on *nix, or using the .NET framework on windows.
    Signature

    Roger Willcocks
    L-Space Design
    Please vote to help me win a 3kW solar array

    {{ DiscussionBoard.errors[185290].message }}
    • Profile picture of the author Dan Grossman
      Originally Posted by rwil02 View Post

      PHP (Perl Hyperscript Processor?) mostly runs on Linux.
      It's PHP Hypertext Preprocessor, it's not Perl at all (though the syntax is similar as the original developer was a Perl programmer himself).

      And it runs as well on Windows as Linux, there is no platform restriction. Most Windows hosting companies will support PHP.
      Signature
      Improvely: Built to track, test and optimize your marketing.

      {{ DiscussionBoard.errors[196345].message }}
      • Profile picture of the author rwil02
        Originally Posted by Dan Grossman View Post

        It's PHP Hypertext Preprocessor, it's not Perl at all (though the syntax is similar as the original developer was a Perl programmer himself).

        And it runs as well on Windows as Linux, there is no platform restriction. Most Windows hosting companies will support PHP.
        Hi Dan.

        Self recursion
        I was thinking that the "original" PHP was either PERL or PYTHON preprocessor for the first P, and someone changed it later.
        Signature

        Roger Willcocks
        L-Space Design
        Please vote to help me win a 3kW solar array

        {{ DiscussionBoard.errors[196515].message }}
  • Profile picture of the author ForumJoiner
    What's the difference between English (php) and Chinese (asp)? A lot of people speak both languages, but English seems to be easier to learn. You can write programs in both languages, but a lot of good programs (phpBB, WordPress and vBulletin which you use write now to read this text) are written (only) in php.


    ASP can run only on Windows platforms, while PHP can run both on Windows and Linux platforms (with better performance on Linux).
    {{ DiscussionBoard.errors[195996].message }}
    • Profile picture of the author rwil02
      Originally Posted by ForumJoiner View Post

      What's the difference between English (php) and Chinese (asp)? A lot of people speak both languages, but English seems to be easier to learn. You can write programs in both languages, but a lot of good programs (phpBB, WordPress and vBulletin which you use write now to read this text) are written (only) in php.


      ASP can run only on Windows platforms, while PHP can run both on Windows and Linux platforms (with better performance on Linux).

      I learned the basics of both PHP and ASP in under 2 hours each. But then I have > 10 years programming experience. Which you find easier depends on what you are familiar with.

      ASP, being a BASIC variant (vbScript) is often easier for english speakers to learn, since it
      reads much the same as english. PHP is not really any harder if you are familiar with any programming language already.

      ASP does run on *nix (including linux), with the appropriate interpreter installed, same as PHP on windows.

      ASP.NET will also run on both (*nix uses the Mono framework, Windows uses .NET)
      Signature

      Roger Willcocks
      L-Space Design
      Please vote to help me win a 3kW solar array

      {{ DiscussionBoard.errors[196314].message }}
  • Profile picture of the author gdclarke
    Stick with linux servers if you can. If you run a windows server risk of being hacked is substantially higher.
    {{ DiscussionBoard.errors[196011].message }}
    • Profile picture of the author rwil02
      Originally Posted by gdclarke View Post

      Stick with linux servers if you can. If you run a windows server risk of being hacked is substantially higher.

      Your risk of being hacked is proprtional to two things.

      1. How common the software you are using is. Hackers target popular apps.
      WordPress, vBulletin and phpBB are all common hacker targets that run in PHP on *nix

      2. How good your host (and you, you have responsibility too) is at keeping the OS and software patched against known vulnerabilities.

      A properly configure W2K3 server set up for web hosting is no more vulnerable than a properly configured *nix server.

      And before anyone spouts off about number of bugs found:
      1. The real number to worry about is the number found and not fixed, which you will never know
      2. There have been numerous months where windows or specific MS software has had fewer bugs reported that the corresponding *nix software.
      Signature

      Roger Willcocks
      L-Space Design
      Please vote to help me win a 3kW solar array

      {{ DiscussionBoard.errors[196334].message }}
  • Profile picture of the author Ross Dalangin
    I suggest you use PHP because there are so many clients are using PHP and servers running linux s cheaper than window based servers. You can run ASP even in linux but you need a third party for that and since PHP has more developers then it is very easy to get codes, optimize and improve.

    I was using ASP (year 1997) but found it not secured or I just don't know yet how to secure it. Also, I always have an error accessing the database and since then I jumped into Perl/CGI then stayed in PHP, I think between year 1998 and 1999. Up to now, I still developing PHP applications.
    {{ DiscussionBoard.errors[196069].message }}
  • Profile picture of the author ForumJoiner
    I feel that my statement was a bit misleading. When I say that ASP doesn't run on Linux platform I mean that it's not a "out-of-the-box" option on some (shared) hosting Linux plans.

    I believe that, with proper adapters, you can run almost everything on every modern platform. For instance, I can run exe files under Linux, if I install Wine, but on Windows I can run exe files even if I don't install anything else.
    {{ DiscussionBoard.errors[196352].message }}
    • Profile picture of the author rwil02
      Originally Posted by ForumJoiner View Post

      I feel that my statement was a bit misleading. When I say that ASP doesn't run on Linux platform I mean that it's not a "out-of-the-box" option on some (shared) hosting Linux plans.

      I believe that, with proper adapters, you can run almost everything on every modern platform. For instance, I can run exe files under Linux, if I install Wine, but on Windows I can run exe files even if I don't install anything else.
      True enough.
      And I'm going to go stop being passive aggressive and get some sleep instead.
      Signature

      Roger Willcocks
      L-Space Design
      Please vote to help me win a 3kW solar array

      {{ DiscussionBoard.errors[196521].message }}
  • Profile picture of the author Plinko
    Someone is going to kill me for dragging up this old thread but please beg my pardon - I just found out about this part of the site

    PHP used to stand for Personal Home Page but if I remember correctly it was voted on at or just prior to version 3 (my dates may be wrong) and changed to the recursive acronym "PHP Hypertext Processor".

    I liked PHP because I came from C and it has very similar elements to C but was able to remove some cumbersome processes and use PERL syntax as well. Great, now I keep forgetting to declare and initialize variables in C! And arrays, oy!
    {{ DiscussionBoard.errors[235241].message }}

Trending Topics