Results 1 to 9 of 9

Thread: CODE IS HIDDEN????????

  1. #1

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    40

    Talking

    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.....

  2. #2
    Guest
    I don't understand what you mean. Please elaborate.

  3. #3

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    40

    Red face elaboration

    I know they are using vb script but when I view source, its not there?

  4. #4
    Addicted Member S@NSIS's Avatar
    Join Date
    Aug 2000
    Location
    Stoke-On-Trent, England
    Posts
    243
    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

  5. #5
    Hyperactive Member
    Join Date
    Mar 2000
    Posts
    292
    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."

  6. #6

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    40

    Cool sample code

    Anyone have any sample code that does this?

  7. #7
    Guest
    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)

  8. #8

    Thread Starter
    Member
    Join Date
    Aug 2000
    Posts
    40

    Talking dennis reply

    can i see the code for the second link??(query)

  9. #9
    Guest
    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
  •  



Click Here to Expand Forum to Full Width