I am trying to create an Adfly URL shortener with PHP using Adfly’s API like this one: http://kingdom-leaks.com/url.php. I have been using the PHP code here: https://github.com/calclavia/Adfly-Drupal-Module/blob/master/wordpress/adfly-injector.php. I just need help implementing it into my HTML code.
Here is my HTML code:
[code]
URL Brander body{padding-top:0px;padding-bottom:40px;background-color:#eee}.main-form{max-width:330px;padding:15px;margin:0 auto}.main-form-header{margin-bottom:10px}.main-form input[type="url"]{position:relative;font-size:16px;height:auto;padding:10px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;margin-bottom:10px}.main-form input[type="url"]:focus{z-index:2}.alert{margin-bottom:10px}Brand your URL
©2015 LeaksWin & Kingdom Leaks,
All Rights Reserved. <?php include 'adfly.php';?> [/code]
Can anyone help?