how to get the value of checksum in php header
Posted
by sumit
on Stack Overflow
See other posts from Stack Overflow
or by sumit
Published on 2010-06-16T17:36:28Z
Indexed on
2010/06/16
17:52 UTC
Read the original article
Hit count: 164
php
I have a header in php which contains a link like
<?php
header("Location: "."https://abc.com/ppp/purchase.do?version=3.0&".
"merchant_id=<23255>&merchant_site_id<21312>&total_amount=<69.99>&".
"currency=<USD>&item_name_1=<incidentsupporttier1>&item_amount_1=<1>&".
"time_stamp=<2010-06-14.14:34:33>&**checksum=<calculated_checksum>**");
?>
when i run this page the value of checksum is calculated and the link is opened
now how checksum is calculated? calculated_checksum=md5(abc);
md5 is an algorithm which calculates the value of checksum based on certain values inside the bracket.
now i want to know how can i pass the value of checksum in the header url
© Stack Overflow or respective owner