/    Sign up×
Community /Pin to ProfileBookmark

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?!

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@graatzJul 07.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 ?
Copy linkTweet thisAlerts:
@mcleodauthorJul 07.2005 — Hi

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

Success!

Help @mcleod spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...