echo javacript form value
<p>I have this script.</p>

<pre><code>&lt;head&gt;
&lt;script type="text/javascript" src="sha1.js"&gt;&lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
&lt;?php
$A= 'TEST01';
$B= '059B8125F';
$C= '20061123_003';
$D= '100.00';
$E= '50126';

?&gt;
&lt;form name="checkout" method="post" action=""&gt;
&lt;input type="hidden" name="A" value="&lt;?php echo $A; ?&gt;" /&gt;
&lt;input type="hidden" name="B" value="&lt;?php echo $B; ?&gt;" /&gt;
&lt;input type="hidden" name="C" value="&lt;?php echo $C; ?&gt;" /&gt;
&lt;input type="hidden" name="D" value="&lt;?php echo $D; ?&gt;" /&gt;
&lt;input type="hidden" name="E" value="&lt;?php echo $E; ?&gt;" /&gt;
&lt;/form&gt;

&lt;script type="text/javascript" language="javascript"&gt;
var str = "##" + form.A.value.toUpperCase() + "##" + form.B.value.toUpperCase() + "##" + form.C.value.toUpperCase() + "##" + form.D.value.toUpperCase() + "##" + form.E.value.toUpperCase() + "##";

form.SIGNATURE.value = hex_sha1(str);
&lt;/script&gt;


&lt;/body&gt;
</code></pre>

<p>My question is, how to show the SIGNATURE value ini PHP? I want to show it in echo. Is it possible?</p>

<p>Thank you all</p>
