Vista to Vista

 

What is the difference between the ASP and PHP programming languages?

Public Comments

  1. ASP = Active Server Pages, an older Microsoft technology (1998) to embed a scripting language such as VBscript (or Perl or Jscript) in a page together with HTML tags, The script emits HTML. Not a programming language per se (VBscript would be a programming language supported by ASP) Example: the VBscript text is between <% %> <html> <body> <% a = "World" %> <% response.write "Hello " & a %></body> </htmll> PHP is a similar scripting language to make web pages. It is more modern than ASP and a bit better designed. PHP commands are between <? ?> <?php if ($a) { ?>
  2. ASP and PHP are both very similar languages that are used to create dynamic web sites/pages. The main difference between the two languages (besides syntax) is that PHP is an open-source, free language, while ASP is not. If you are using one of these languages you will need to use a web server that supports either PHP or ASP.
Powered by Yahoo! Answers

Amazon.com