|
-
Aug 30th, 2000, 11:14 AM
#1
Thread Starter
Member
I've seen this done on a site =>
http://www.weathershield.com/dealer/default.asp
THATS EXACTLY WHAT I WANT!!!!!!!!!!!!
but the code is hidden,,,,HOW?????
Thanks gurus.....
-
Aug 30th, 2000, 11:20 AM
#2
I don't understand what you mean. Please elaborate.
-
Aug 30th, 2000, 11:23 AM
#3
Thread Starter
Member
elaboration
I know they are using vb script but when I view source, its not there?
-
Aug 30th, 2000, 11:48 AM
#4
Addicted Member
Hi,
They are using ASP hence the .asp extension on the filename. This means that all the scripting is done server side and all that is output to the user is HTML. You cannot get access to the original .asp files and their scripts.
Hope this helps
Shaun
Web/Application Developer
VB6 Ent (SP5), Win 2000,SQL Server 2000
-
Aug 30th, 2000, 11:51 AM
#5
Hyperactive Member
There is a component that will do a lot of work with ZIP codes for you. You can use it in your VB programs or ASP scripts.
http://link-usa.com/zipcode/
"People who think they know everything are a great annoyance to those of us who do."
-
Aug 30th, 2000, 11:56 AM
#6
Thread Starter
Member
sample code
Anyone have any sample code that does this?
-
Aug 30th, 2000, 12:02 PM
#7
start up PWS(personal webserver) and add this to a text document, rename the extension to .asp
Code:
<%@ language=VBSCRIPT %>
<HTML>
<BODY>
It is:
<%
Response.Write(Time())
%>
</BODY>
</HTML>
now type in your browser
wwwroodirectory/Name.asp
replace wwwrootdirectory with your PWS Root directory and then where the file is located,
replace name.asp with the name of your file.
to see this in action, take a look at
http://www9.ewebcity.com/denniswrenn/test.asp
to see another little script I whipped up, take a look at
http://www9.ewebcity.com/denniswrenn/first.asp (this uses 2 pages)
-
Aug 30th, 2000, 01:37 PM
#8
Thread Starter
Member
dennis reply
can i see the code for the second link??(query)
-
Aug 30th, 2000, 01:44 PM
#9
sure, sorry about that... hehehe, I forget that you cant see it(which I shouldnt have, because that's the subject of this post )
This is the code for first.asp:
Code:
<%@ language=VBSCRIPT %>
<HTML>
<BODY>
<form name="Form" action="second.asp" method="post">
name: <input type="text" name="name" SIZE=30>
<input type="submit">
</form>
</BODY>
</HTML>
This is the code for second.asp:
Code:
<%@ language="VBSCRIPT" %>
<HTML>
<BODY>
Hello <%=Request.form("name")%> Thanks for visiting my page!
</BODY>
</HTML>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|