CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: Beginner:
Url reading



Feb 15, 2000, 1:59 PM

Post #1 of 3 (2051 views)
Url reading Can't Post

I have a cgi-file in the top frame and I want that cgi program to read the url of the main frame to assign it to the value of a form. What code can I use to acheive this?

Thanks a whole lot,


Feb 16, 2000, 11:18 AM

Post #2 of 3 (2051 views)
Re: Url reading [In reply to] Can't Post


Trying to figure this out, you have a cgi-progam(what kind)on the top frame and you have the text field on the main frame-> Is this correct.



Feb 16, 2000, 12:38 PM

Post #3 of 3 (2051 views)
Re: Url reading [In reply to] Can't Post

Thank you cure,

I got it to work late last night but I had to use another way. I still want to know how to read a url of a frame though. The cgi program is simply printing the html with a form. Nothing special, just a print <<ENDHTML;

with a content type and a perl path above.
Yes it is a top frame that is about 43 pixels. There is a drop down menu and the text field is hidden. So that's why I wanted it to read the url of the main frame so I could put that into the value of the form. Then people can simply pick the option they want. So everything is on the top frame and I just want the cgi to read the url of the main frame.

If your not enthusiastic about trying to figure this out it's ok because I got it to work by reading the url with a value=url and I have it reading the url and inputing that into the value. So that way I put the urls in on the link.

Thanks a lot,


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives