using POST
| From: | HP-NewJersey,ex1) | Date: | Tue, 12 Feb 2002 22:39:52 +0000 |
| Subject: | using POST | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-84482@lists.php.net to get a copy of this message | ||
Hi guys,
I have assembled an XML file, encrypted it and now ready to pass it to an
outside server.
$encryptedXML file contains encrypted value of an XML file
How can I send the XML-(URL encoded) within the HTTPS-POST. The reason for
sending the cleartext XML URL encoded is to allow for the special characters
such as '<' and '>' to be sent across the HTTP protocol.
$msgToBePosted = <<<EOD
<html><head><title>Post</title></head>
<form method='POST'
action='https://alpha.server.com/test/DeliverReg/default.asp'>
<input type=hidden name=PARAMS value=$encryptedXMLFile>
</form></body></html>
EOD;
Do you know how can I POST the above $msgToBePosted?
Basically, I want to pass the above form to the
https://alpha.server.com/test/DeliverReg/default.asp,
the value must be
hidden, having name=PARAMS and value=$encryptedXMLFile
Thank you,
Leon
-----------
Leon Zilber
HP Internet Operation R&D Lab
phone: 973.443.78.82
email: leon_zilber@hp.com