PHP: Pass variable hidden to another website -
website b.com
should send data a.com
http://a.com/tracking_script.php?code=342284240&tracking_id=893459234
.
however b.com
should hidden. b.com
tracking_id=893459234
visitor code=342284240
secure code owner of a.com
, b.com
know. because not should able call tracking_script.php
simply put: how send data b.com
a.com
without knowdledge of visitor? html post, ajax etc. not possible.
store code value in database table both sites can access, associate tracking id, , use tracking_id parameter in url.
http://a.com/tracking_script.php?tracking_id=893459234.
then within tracking_script.php query database find code associated tracking id.
Comments
Post a Comment