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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
Url reading

 



perlkid
stranger

Feb 15, 2000, 1:59 PM

Post #1 of 3 (665 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,
perlkid


Cure
User

Feb 16, 2000, 11:18 AM

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

Hi

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.

Cure.


perlkid
stranger

Feb 16, 2000, 12:38 PM

Post #3 of 3 (665 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;
#html
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,
perlkid

 
 


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

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