Difference between revisions of "Affiliate Remote Login"
From Offerit
OfferitRobC (talk | contribs) |
OfferitMegan (talk | contribs) |
||
Line 3: | Line 3: | ||
}} | }} | ||
− | You can create a custom form for affiliates to | + | You can create a custom form for affiliates to log in to your Offerit installation. All that is needed is to create a form that submits to the following url: |
<pre> | <pre> |
Revision as of 11:03, 14 August 2012
You can create a custom form for affiliates to log in to your Offerit installation. All that is needed is to create a form that submits to the following url:
http://<tracking domain>/internal.php
You would replace <tracking domain> with the Tracking Domain 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 tracking domain 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://example.offerit.com/internal.php" method="post"> Username: <input type="text" name="user" /><br /> Password: <input type="password" name="pass" /><br /> <input type="submit" /> </form>