View previous topic :: View next topic |
Author |
Message |
ultrabot90 -
Joined: 19 Jan 2008 Posts: 4
|
Posted: Sun Jan 27, 2008 6:05 am Post subject: ASP jitters |
|
|
(This could be in either the Classic ASP forum, or in the General Questions forum...I'm confused.)
I have to make a school project in ASP. I hosted a page in ASP on my site (which I host expressly for the ASP project using Abyss, IIS was not at all easy to understand -.-)
First time I did it, it didnt run at all. So I made a test file.
Here is the code -
Code: |
<% LANGUAGE="VBScript" %>
<html>
<head>
<%
<!--
response.write("ASP"&"<BR>")
-->
%>
<script language="VBScript">
<!--
document.write("VBScript")
-->
</script>
<script language="JavaScript">
<!--
document.write("JavaScript")
-->
</script>
</head>
<body>
</body>
</html>
|
In Opera, the output was
Code: |
<% LANGUAGE="VBScript" %> <% %> JavaScript
|
In IE, the output was
Code: |
VBScript JavaScript
|
I double checked with w3schools.com, syntax was 100% correct (I hope - what could possibly go wrong in such a small code? -.-)
Please help.
Edit - I asked a friend to check it out on my site (http://59.165.24.132/asp2.asp) and it still doesnt work. That is, same output as above. And when they load an ASP file in FireFox (I dont have FF), it asks them to dload it. How possibly can I get it working? |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
|
Back to top |
|
|
ultrabot90 -
Joined: 19 Jan 2008 Posts: 4
|
Posted: Mon Jan 28, 2008 3:23 pm Post subject: |
|
|
Oops, I didnt know that. Sorry.
But ActiveHTML appears to be shareware...Is there any freeware solution present? |
|
Back to top |
|
|
Moxxnixx -
Joined: 21 Jun 2003 Posts: 1226 Location: Florida
|
Posted: Mon Jan 28, 2008 4:44 pm Post subject: |
|
|
ultrabot90 wrote: | Oops, I didnt know that. Sorry.
But ActiveHTML appears to be shareware...Is there any freeware solution present? |
Do a search on this forum for "free AND asp", without the quotes. |
|
Back to top |
|
|
ultrabot90 -
Joined: 19 Jan 2008 Posts: 4
|
Posted: Mon Jan 28, 2008 4:53 pm Post subject: |
|
|
Ah, perfect, thank you. Sorry for asking a nooby and seemingly age-old question. |
|
Back to top |
|
|
StodoBult -
Joined: 29 May 2010 Posts: 9 Location: Italy
|
Posted: Sun Aug 01, 2010 2:16 am Post subject: ASP jitters |
|
|
This Function strips/replaces any ASP Code that may be found in a string...
Code:Function StripASPCodestrip_stringSet RegularExpressionObject = New RegExpWith RegularExpressionObject.Pattern = "<sS?" & Chr37 & ">".IgnoreCase = True.Global = TrueEnd Withstrip_string = RegularExpressionObject.Replacestrip_string, "-ASP-REMOVED-"Set RegularExpressionObject = nothingStripASPCode = strip_stringEnd Function |
|
Back to top |
|
|
|