uglykidjoe
New Member
Is it possible to use Fabrik to grab a user's Joomla credentials to pass into another application to create almost a bridge?
Here is the login.php for the application concerned
The email of the user is used for the username so I presume that I can autofill the username field using
..and setting that part of the form to hidden. Can the password be passed through too?
How do I use the code from the form above to create a Fabrik form?
I am already using the other application's database for storing the using names/passwords using mySQLAuth.
Also is the jump page the same as an "Form Action" page in a html form?
Thanks in advance Steve
Here is the login.php for the application concerned
Code:
<form action="<?PHP echo HOST.CLIENT_LOGIN_PAGE ?>" method="post" name="login_form_box">
<table width="550px" border="0">
<tr>
<td width="200px"><strong>Email</strong></td>
<td><input type="text" name="user" class="login_input_form" value="Username" onfocus="javascript:if(document.login_form_box.user.value=='Username'){document.login_form_box.user.value=''};" onblur="javascript:if(document.login_form_box.user.value==''){document.login_form_box.user.value='Username'};"/>
</td>
</tr>
<tr>
<td><strong>Password</strong></td>
<td><input type="text" name="password" class="login_input_form" value="Password" onfocus="javascript:if(document.login_form_box.password.value=='Password'){document.login_form_box.password.value=''};document.login_form_box.password.type='password';" onblur="javascript:if(document.login_form_box.password.value==''){document.login_form_box.password.value='Password';document.login_form_box.password.type='text';}" /><br />
<a href="<?PHP HOST ?>forgot_password.php" title="Forgot your password">Forgot your password</a>
</td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td><input name="Submit" type="submit" value="Log in" id="login_button" class="green_button" />
</td>
</tr>
</table>
<input type="hidden" name="login_form" />
</form>
Code:
<?php
global $my;
echo $my->email;
?>
How do I use the code from the form above to create a Fabrik form?
I am already using the other application's database for storing the using names/passwords using mySQLAuth.
Also is the jump page the same as an "Form Action" page in a html form?
Thanks in advance Steve