Solved

Capture URL variable

Posted on 2006-12-01
3
343 Views
Last Modified: 2008-02-01
I would like to capture the 'iid' variable being passed with the url link to come to my site and then use it as a hidden variable in my form on the page.

e.g. http://mysite.com/index.html?iid=v1 is the incoming URL

but I cannot use javascript.

How can I get the 'v1' value into my form?

Thanks!
0
Comment
Question by:kkbenj
  • 2
3 Comments
 
LVL 54

Accepted Solution

by:
b0lsc0tt earned 500 total points
ID: 18055610
kkbenj,

You can't do it just with html.  Either a server language (i.e. ASP, PHP, Perl) or javascript must be used.  Server language is best and easiest but it doesn't look like the page is generated by server code.  If you server supports a language and you want to make a change to the page and add some server script then let us know which language and we can provide an example.

HTML on its own can't do it.  Let me know if you have any questions or need more information.

b0lsc0tt
0
 

Author Comment

by:kkbenj
ID: 18055628
I was afraid of that.  Thanks for responding so quickly.
0
 
LVL 54

Expert Comment

by:b0lsc0tt
ID: 18055756
Your welcome!  I'm glad that I could help.  Thank you for the grade, the points and the fun question.

bol
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now