Difference between revisions of "Affiliate Remote Login"
From Offerit
OfferitJames (talk | contribs) |
|||
Line 3: | Line 3: | ||
}} | }} | ||
− | You can create a custom form for affiliates to login to your | + | You can create a custom form for affiliates to login to your Offerit installation. All that is needed is to create a form that submits to the following url: |
<pre> | <pre> |
Revision as of 12:50, 23 November 2011
You can create a custom form for affiliates to login to your Offerit installation. All that is needed is to create a form that submits to the following url:
http://<linkdomain>/internal.php
You would replace <linkdomain> with the linkdomain of your Offerit install. The only variables that need to be sent for a successful login with the post are "user" and "pass". If the user is submitting fails to enter the correct login information they and they are posting from the linkdomain of your offerit install they will be redirected to the external login page of your offerit install. Otherwise they will receive an error response regarding why their login was unsuccessful.
Here is a basic example of what this form may look like.
<!-- Simple form to post to Offerit and login --> <form action="http://offerit.mike.jager.toomuchmedia.com/internal.php" method="post"> Username: <input type="text" name="user" /><br /> Password: <input type="password" name="pass" /><br /> <input type="submit" /> </form>