PDA

View Full Version : Affiliate Login Form - Can It Be Ported?


paradigm
24th February 2008, 08:56 AM
Hi folks,

Here's my situation. When you install the script, you login to PAP by accessing the /affiliates/index.php area.

I would rather have the login form information ported onto my main webpage for my affiliate program.

How would I be able to accomplish this?

Much appreciated.

Thanks.

drakeman
28th February 2008, 09:42 PM
You can use this form:


<form action="index.php" method="post">
<table align="center" border="0">
<tbody><tr>
<td colspan="2" align="center">Affiliate Log in</td>
</tr><tr>
<td align="right">Username&nbsp;</td><td><input class="logon" name="username" size="23" value="" type="text"></td>
</tr>

<tr>
<td align="right">Password&nbsp;</td><td><input class="logon" name="rpassword" size="23" value="" type="password"></td>
</tr>

<tr>
<td colspan="2" align="center">
<input name="commited" value="yes" type="hidden">
<input name="md" value="QCore_Login" type="hidden">
<input name="accountid" value="default1" type="hidden">
<input name="action" value="login" type="hidden">

<input class="formbutton" value="Log in" type="submit">
</td>
</tr>
</tbody></table>
</form>


In the action don't forget to insert a correct place of your affiliates/index.php file