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: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to