NewtownGuy
Technical User
Hello,
I have a question about manipulating URL-encoded variables in a browser. I need to create a string that combines information from two invocations of the browser.
I have a custom application that needs to send a URL of the following form:
to a browser, which will open index.html on the httpd server at ip_address:8000/
index.html does not need to respond to the variables sent to it, but it needs to be able to send them on to the httpd server, along with additional information, when a button is pushed in index.html.
Then when a button is clicked, I want index.html to modify the URL that it received and to send the resulting string to the httpd server. I want to create a composite string of the following form including new information from that button:
My question is how do I program index.html, in response to a button click, to receive the variables sent to it by the first invocation of the browser, adding more text to the URL string including cgi-bin/script.pl and other variables ? I need successive button clicks to add other information to the original string, so I need to use the initial string multiple times.
Thank you.
-- NewtownGuy
I have a question about manipulating URL-encoded variables in a browser. I need to create a string that combines information from two invocations of the browser.
I have a custom application that needs to send a URL of the following form:
Code:
[URL unfurl="true"]http://ip_address:8000/?value1=1234?value2=abcd[/URL]
to a browser, which will open index.html on the httpd server at ip_address:8000/
index.html does not need to respond to the variables sent to it, but it needs to be able to send them on to the httpd server, along with additional information, when a button is pushed in index.html.
Then when a button is clicked, I want index.html to modify the URL that it received and to send the resulting string to the httpd server. I want to create a composite string of the following form including new information from that button:
Code:
[URL unfurl="true"]http://ip_address:8000/cgi-bin/script.pl?button_data=whatever?value1=1234?value2=abcd[/URL]
My question is how do I program index.html, in response to a button click, to receive the variables sent to it by the first invocation of the browser, adding more text to the URL string including cgi-bin/script.pl and other variables ? I need successive button clicks to add other information to the original string, so I need to use the initial string multiple times.
Thank you.
-- NewtownGuy