How to convert from HTML to ASP website.

To learn the understanding of how Active Server Pages work.

Page 1 of 1

5 Replies - 2033 Views - Last Post: 30 October 2008 - 02:49 AM

#1 AFProgMan  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 80
  • Joined: 21-October 08

How to convert from HTML to ASP website.

Post icon  Posted 21 October 2008 - 05:25 PM

What would be the most proper way to basically convert your HTML site/index to ASP? Can you just use HTML code throughout the whole thing and just rename it to .ASP from HTML? What kind of Doctypes need to be changed and all of the basics.

I know what I would do, but I am seeing what others would do. Here is an example of what happens when you just rename it. You fix the code. Just a test.

Rename Project

The server SHOULD allow for ASP and Server Side Includes. If not, would you do it in PHP instead?

-Interested....

Is This A Good Question/Topic? 0
  • +

Replies To: How to convert from HTML to ASP website.

#2 chili5  Icon User is offline

  • D.I.C Lover

Reputation: 19
  • View blog
  • Posts: 1,144
  • Joined: 28-December 07

Re: How to convert from HTML to ASP website.

Posted 23 October 2008 - 04:30 AM

If you rename your files to .asp then it should work. If it doesn't display your web page, then you don't have ASP on your server.

PHP is easier if you know PHP. :) Do you have ASP and SSI enabled on your server?
Was This Post Helpful? 0
  • +
  • -

#3 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1639
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: How to convert from HTML to ASP website.

Posted 23 October 2008 - 05:15 AM

You cannot just change the extension of an HTML page to ASP ahd have it be an ASP page. All ASP pages require the following line as the first line in the file

<%@LANGUAGE="VBSCRIPT"%>


Was This Post Helpful? 0
  • +
  • -

#4 AFProgMan  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 80
  • Joined: 21-October 08

Re: How to convert from HTML to ASP website.

Posted 24 October 2008 - 07:55 AM

Nevermind the ASP conversion. I do not know if Doteasy supports asp as I do not have the frontpage extensions enabled. The site has SSI/PERL/CGI. how would I do includes just using this method?
Was This Post Helpful? 0
  • +
  • -

#5 LoveSquid  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 47
  • Joined: 14-October 08

Re: How to convert from HTML to ASP website.

Posted 25 October 2008 - 06:34 AM

View PostAFProgMan, on 24 Oct, 2008 - 10:55 AM, said:

Nevermind the ASP conversion. I do not know if Doteasy supports asp as I do not have the frontpage extensions enabled. The site has SSI/PERL/CGI. how would I do includes just using this method?


Double check for PHP & MySQL support, they are pretty common as they are Open Source.
Was This Post Helpful? 0
  • +
  • -

#6 no2pencil  Icon User is offline

  • Toubabo Koomi
  • member icon

Reputation: 5191
  • View blog
  • Posts: 26,899
  • Joined: 10-May 07

Re: How to convert from HTML to ASP website.

Posted 30 October 2008 - 02:49 AM

View PostPsychoCoder, on 23 Oct, 2008 - 08:15 AM, said:

You cannot just change the extension of an HTML page to ASP ahd have it be an ASP page.

Plus, it's very important to understand where the execution takes place.

ASP is a server side processing language, so it prepares the page on the server & offers it to the browser. All execution, comparison, & variables are evaluated & no ASP code is available (viewable) to the browser.

Where-as html is executed on the browser, so all of the code is viewable.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1