Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Question about old contribution (LOGIN BOX)


winterradio

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...