Difference between revisions of "Affiliate Remote Login"
From Offerit
OfferitJames (talk | contribs) |
OfferitJames (talk | contribs) |
||
Line 4: | Line 4: | ||
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: | 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. | + | |
+ | <pre> | ||
+ | http://<linkdomain>/internal.php. | ||
+ | </pre> | ||
+ | |||
+ | 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. | Here is a basic example of what this form may look like. |
Revision as of 16:55, 1 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>