Jump to content

need help with login script actions


djclewes

Recommended Posts

i need help with this login script this works  perfect as a login script but i need to add another action to it. it is action="login.php" but i need it to be action="login.php" and action="register.php" so i can integrate my chat room along with my login script please help you nice people.

 

 

 

<?php

/***************************************************************************

*

*  Copyright © 2007. All Rights Reserved.

*  -------------------------------------

*  Version: 3.0

*  -------------------------------------

*

****************************************************************************

*  Page: login.php

***************************************************************************/

 

include("include/joovili.settings.php");

include("modules/login.functions.php");

 

if (isset($_POST['login'])) { $login = user_login(); }

 

?>

 

<?php include_once("themes/".SITETHEME."/joovili.header.php"); ?>

 

      <table width="100%" border="0">

        <tr>

          <td width="60%" valign="top">

    <table width="100%" border="0" cellpadding="4">

              <tr>

                <td class="text_1_css"><?php echo $lang['login'];?></td>

              </tr>

              <tr>

                <td class="text_2_css"><?php echo $lang['login_message'];?></td>

              </tr>

            </table>

              <?php echo $login;?>

  <img src="themes/<?php echo SITETHEME;?>/images/007.gif" height="10" />

              <table width="100%" border="0" cellpadding="4" class="text_2_css">

                <form name="login" id="login"action="login.php" method="post">

                  <tr>

                    <td width="25%"><?php echo $lang['common_username'];?></td>

                    <td width="75%"><input name="username" type="text" class="form_field" style="width: 50%;" /></td>

                  </tr>

                  <tr>

                    <td><?php echo $lang['common_password'];?></td>

                    <td><input name="password" type="password" class="form_field" style="width: 50%;" /></td>

                  </tr>

                  <tr>

                    <td> </td>

                    <td><a href="forgot.php" class="text_4_css"><?php echo $lang['login_forgot'];?></a></td>

                  </tr>

                  <tr>

                    <td> </td>

                    <td><input name="login" type="submit" class="form_button" value="<?php echo $lang['login_button'];?>" /></td>

                  </tr>

                </form>

          </table></td>

  <td width="40%"><?php echo $joovili_settings['joovili_advert_group_3'];?></td>

        </tr>

      </table>

      <?php include_once("themes/".SITETHEME."/joovili.footer.php");?>

Link to comment
Share on other sites

They likely take a username & password and check them against a database, then setting some sort of flag to state that the user is logged in. All you need do is check two databases.

Link to comment
Share on other sites

sorry i dont know how to do that but if your intrested in doing it for me i will pay a few dollars or pound via paypal here is the 2nd login script its very basic

 

<!--

    Copy and paste the following HTML code to the web

    page that you would like people to login from. Edit

    this code as you see fit.     

-->

 

<form method=POST action="launch.php" target="sigmachat_popup">

  <table border=0>

      <tr>

        <td>

            Username:

        </td>

        <td>

            <input type=text name="username" value="" size=32>

        </td>

      </tr>

      <tr>

        <td>

            Password:

        </td>

        <td>

            <input type=password name="password" value="" size=32>

        </td>

      </tr>

      <tr>

        <td>

        </td>

        <td align=right>

            <input type=submit name="submit" value="Login">

        </td>

      </tr>

  </table>

</form>

 

<!-- End copy/paste -->

Link to comment
Share on other sites

They are not login script. They are html forms that post to php scripts.

 

If your looking for a programmer, we have a freelance board. Otherwise, your going to need to attempt this yourself and post relevant code when you have problems.

Link to comment
Share on other sites

i have fixed this problem now but i am looking for someone who can create a footer bar like face book with a online pop up one on one chat box like facebook and it needs to be integrated with prochat and look a bit like the prochat footerbar. this is a future creation i need when i have the money. but i would like people to leave quotes now so when funds are there i can get it straight away.

Link to comment
Share on other sites

i have fixed this problem now but i am looking for someone who can create a footer bar like face book with a online pop up one on one chat box like facebook and it needs to be integrated with prochat and look a bit like the prochat footerbar. this is a future creation i need when i have the money. but i would like people to leave quotes now so when funds are there i can get it straight away.

 

We have a freelance board for such requests.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.