Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login box outside standard oscommerce site


terencevs

Recommended Posts

I want to put a login box on my main page of my site.

 

All I want it to be able to do is for the person to enter his/her username and password and when they click logon they go through to their account section on the shop side.

 

My site is as follows:

 

http://www.mainsite.com/shop

 

index.php

-->shop

 

 

Any help will be gladly appreciated!

 

Thank you

Link to comment
Share on other sites

I found a contribution with the following code:

 

<table>

<form name="login" method="post" action="http://www.micts.co.za/shop/login.php?action=process">

<tr>

<td align="center" class="infoBoxContents">

Email Address:

</td>

</tr>

<tr>

<td align="center" class="infoBoxContents">

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

</td>

</tr>

<tr>

<td align="center" class="infoBoxContents">

Password:

</td>

</tr>

<tr>

<td align="center" class="infoBoxContents">

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

</td>

</tr>

<tr>

<td class="infoBoxContents" align="center">

<input type="image" src="includes/languages/english/images/buttons/YOUR_BUTTON.GIF" border="0" alt="Sign In" title=" Sign In " SSL>

</td>

</tr>

</form>

</table>

 

It works but when I login it goes to index.php. I want the user to be taken to account.php.

 

Can someone help?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...