Summary:
I need you to write a small script that captures data from a POST request and then fires another tracking script with that data.
Details:
I need a script to be written that will first capture POST requests (that are sent by another script you don’t have anything to do with).
These Post request contain all kind of database information (name, address, contact information, etc. etc.).
I need the script that you will create to:
- Extract the Email Address from this POST information (I will provide a sample)
- With this email address a specific link must be created (for example: [login to view URL][EMAIL FROM POST GOES HERE]&option1=abc&option2=abc )
(This created link is basically a tracking link; the functionality of that link is that of a “tracking pixel” / “web beacon”, so when this link is visited, another system counts the visit of the email address in a database.)
- Therefore, after creating this link, the script you will have to create must somehow “fire” this tracking link, basically by “visiting” the link.
That’s all! :)
Script should be in php, so that I can send the POST requests from the other server simply to the php script that will be somewhere on my server.