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 %26lt;% %%26gt;
%26lt;html%26gt;
%26lt;body%26gt;
%26lt;% a = "World" %%26gt;
%26lt;% response.write "Hello " %26amp; a %%26gt;%26lt;/body%26gt;
%26lt;/htmll%26gt;
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 %26lt;? ?%26gt;
%26lt;?php
if ($a) {
?%26gt;
What is the difference between the ASP and PHP programming languages?
There is no special license involved. Even PHP has a license (GPL). All you need is a web server that has IIS. A hosting plan that supports PHP will cost the same as one that supports ASP.
Because ASP does not need any special setup and it is easy to learn, write and debug, it is very popular. Report It
Reply: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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment