J
JRough
I have a desktop database application that can send an address string
from an embedded web applet. The only output I can get from this
database is an HTTP GET with the address list. I need to capture this
address list from the GET url then POST the address string to a php
page.
I call this proxy page clientsideform.html. It is a local html page
on the hard drive. This is on a mac. There are reasons why I'm doing
it this way.
In any case, I'm not doing the GET right to get the value that comes
after my web server, the get string addr=" "
----------------------------- clientSidePost.html--------------
<html><head>
<title>HTTP Proxy</title>
<body onload="document.pgform.submit()">
var addressList = GET "file://clientSidePost.html&addr= HTTP/1.0
document.write(addressList);
<form name = "pgform_post" method="post" action="http://localhost/
Soliant/googlemap.php"
<TEXTAREA NAME= addr>
</TEXTAREA>
<INPUT TYPE=SUBMIT VALUE="Show Map"
/form>
</head>
</script>
</body>
</html>
------------------------------
<html><head>
<title>HTTP Proxy</title>
<body onload="document.pgform.submit()">
var addressList = GET "file://clientSidePost.html&addr= HTTP/1.0
document.write(addressList);
<form name = "pgform_post" method="post" action="http://localhost/
Soliant/googlemap.php"
<TEXTAREA NAME= addr>
</TEXTAREA>
</form>
</head>
</script>
</body>
</html>
-------------
This is the output I get:
var addressList = GET "file://clientSidePost.html&addr= HTTP/1.0
document.write(addressList);
I also get an empty field in the form. I want this form to be hidden
and for the php page to be posted instead. I don't want the user to
even see the proxy page in his web browser. I need to get rid of the
blank field.
How do you write out the value of the variable troubleshoot what is
going on? I tried document.write to see the value of addressList but
it didn't work.
Tia,
from an embedded web applet. The only output I can get from this
database is an HTTP GET with the address list. I need to capture this
address list from the GET url then POST the address string to a php
page.
I call this proxy page clientsideform.html. It is a local html page
on the hard drive. This is on a mac. There are reasons why I'm doing
it this way.
In any case, I'm not doing the GET right to get the value that comes
after my web server, the get string addr=" "
----------------------------- clientSidePost.html--------------
<html><head>
<title>HTTP Proxy</title>
<body onload="document.pgform.submit()">
var addressList = GET "file://clientSidePost.html&addr= HTTP/1.0
document.write(addressList);
<form name = "pgform_post" method="post" action="http://localhost/
Soliant/googlemap.php"
<TEXTAREA NAME= addr>
</TEXTAREA>
<INPUT TYPE=SUBMIT VALUE="Show Map"
/form>
</head>
</script>
</body>
</html>
------------------------------
<html><head>
<title>HTTP Proxy</title>
<body onload="document.pgform.submit()">
var addressList = GET "file://clientSidePost.html&addr= HTTP/1.0
document.write(addressList);
<form name = "pgform_post" method="post" action="http://localhost/
Soliant/googlemap.php"
<TEXTAREA NAME= addr>
</TEXTAREA>
</form>
</head>
</script>
</body>
</html>
-------------
This is the output I get:
var addressList = GET "file://clientSidePost.html&addr= HTTP/1.0
document.write(addressList);
I also get an empty field in the form. I want this form to be hidden
and for the php page to be posted instead. I don't want the user to
even see the proxy page in his web browser. I need to get rid of the
blank field.
How do you write out the value of the variable troubleshoot what is
going on? I tried document.write to see the value of addressList but
it didn't work.
Tia,