Jump to content
Sign in to follow this  
winterradio

Question about old contribution (LOGIN BOX)

Recommended Posts

I was using an old contribution made by Audrey Kilian way back in April. It worked until I upgraded to the latest version. It now will not take the user to a secure connection. Logging in from login.php works fine. I've included the old code below:

 

<?php

   if (!tep_session_is_registered('customer_id')) {

?>

         <tr>

           <td>

<?php

   $info_box_contents = array();

   $info_box_contents[] = array('align' => 'left',

                                'text'  => BOX_LOGINBOX_HEADING

                               );

   new infoBoxHeading($info_box_contents, false, false);

   $loginboxcontent = "

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

           <form name="login" method="post" action="" . tep_href_link(FILENAME_LOGIN, 'action=process&email_address=' . $HTTP_POST_VARS['email_address'], 'SSL') . "">

             <tr>

               <td align="left" class="main">

                 " . BOX_LOGINBOX_EMAIL . "

               </td>

             </tr>

             <tr>

               <td align="left" class="main">

                 <input type="text" name="email_address" maxlength="96" size="20" value="">

               </td>

             </tr>

             <tr>

               <td align="left" class="main">

                 " . BOX_LOGINBOX_PASSWORD . "

               </td>

             </tr>

             <tr>

               <td align="left" class="main">

                 <input type="password" name="password" maxlength="40" size="20" value="">

               </td>

             </tr>

             <tr>

               

   <td class="main" align="center"> " . tep_image_submit('button_login.gif', 

     IMAGE_BUTTON_LOGIN) . " " . tep_image_submit('button_new_users.gif', IMAGE_BUTTON_NEW_USERS) 

     . "</td>

             </tr>

           </form>

           </table>

             ";



   $info_box_contents = array();

   $info_box_contents[] = array('align' => 'center',

                                'text'  => $loginboxcontent

                               );

   new infoBox($info_box_contents);

?>

           </td>

         </tr>

 

Anyone have any idea why it will not redirect to a secure connection?

 

Thanks for any help,

 

H

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×