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....
How to convert from HTML to ASP website.To learn the understanding of how Active Server Pages work.
Page 1 of 1
5 Replies - 1625 Views - Last Post: 30 October 2008 - 02:49 AM
Replies To: How to convert from HTML to ASP website.
#2
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?
PHP is easier if you know PHP.
#3
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"%>
#4
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?
#5
Re: How to convert from HTML to ASP website.
Posted 25 October 2008 - 06:34 AM
AFProgMan, 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.
#6
Re: How to convert from HTML to ASP website.
Posted 30 October 2008 - 02:49 AM
PsychoCoder, 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.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|