|
Posted by Umberto Salsi on 04/10/07 08:45
"cbmeeks" <cbmeeks@gmail.com> wrote:
> [...]
A test program like this one should help you to detect the problem:
<?php
header("Content-Type: text/plain");
$expected = "PUT bla bla ...";
$actual = (string) $_POST["data"];
echo
"Expected = ", urlencode($expected), "\n",
"Actual = ", urlencode($actual), "\n";
if( $expected === $actual )
echo "Test: equals\n";
else
echo "Test: DIFFERS\n";
# ...and a similar code for the $expected_hmac and $actual_hmac
?>
Regards,
___
/_|_\ Umberto Salsi
\/_\/ www.icosaedro.it
Navigation:
[Reply to this message]
|