Results 1 to 3 of 3

Thread: Getting info from a url

  1. #1
    Join Date
    Mar 2005
    Buckinghamshire, UK

    Getting info from a url

    Hi All

    I know from reading up on creating HTML links it is possible to send a variable via an HTML link. E.g the code below should create a link that would open a page and pass it another URL?!

    <a href="http://www.somewhere.co.uk/formpage.html?http://www.somewhere.co.uk/dynamicpage.asp>test</a>

    Correct me if I'm wrong about the sytax as this may be part of my probelm.

    What I'm finding it difficult to find out is how to access this variable.

    Basically I have a form that collects an Email address on a page called sendinfo.htm which I then want to submit to a asp page the address for which is passed to the form page via a link on another page!!

    Can someone please help me?!

  2. #2
    Join Date
    Jun 2005
    I'm not sure if i'm following the logistics of how your form(s) is(are) set up.... the syntax your looking for is "http://www.somesite.com/submit.asp?varname:varvalue"

    In your ASP page, request.querystring("varname") = varvalue

    If that doesn't do enough to answer your question, you'll need to re-explain exactly what it is you're trying to do

  3. #3
    Join Date
    Mar 2005
    Buckinghamshire, UK

    Thanks for your input that is what I needed to know :-)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles