Jump to content
Posted 17 November 2012 - 09:23 AM
Posted 19 November 2012 - 11:16 AM
Posted 19 November 2012 - 01:06 PM
Posted 19 November 2012 - 04:37 PM
Posted 19 November 2012 - 05:41 PM
Posted 19 November 2012 - 06:12 PM
We do use the adf.ly API to do this, you're right in saying it produced a plain text output, but we basically use that as a parameter for our redirection, so in PHP we use file_get_contents() to call the API, then assign that to a variable, that variable will be the new adf.ly link you can use, so then we use header("Location: $adflyurl") to use a HTTP header redirect to the new adf.ly link
Edited by rajjaak24, 19 November 2012 - 06:12 PM.
Posted 20 November 2012 - 12:12 AM
There's no place like 127.0.0.1
There are 10 types of people in the world, those that can read binary, and those who can't.
Posted 20 November 2012 - 08:29 AM
Research 'affiliate links' and you will understand.
Why not just redirect them to the original URL?
Posted 20 November 2012 - 11:12 AM
Posted 20 November 2012 - 01:26 PM
$sUrl = file_get_contents(MY URL); header('Location: $sUrl');
0 members, 0 guests, 0 anonymous users