I would like to set the oscommerce shopping cart in such a way that only registered users can access it. Has anyone done this ? Basically I do not want an unregistered user going through the items and prices.
This is a discussion on tricky question -> Access to only registered users ? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I would like to set the oscommerce shopping cart in such a way that only registered users can access it. ...
I would like to set the oscommerce shopping cart in such a way that only registered users can access it. Has anyone done this ? Basically I do not want an unregistered user going through the items and prices.
what you could try is protect the catalog folder with an htaccess file and give out the password when they register. This is one way to do it.
if u want to make it really cool and efficient, theres something called "mod_auth_mysql" for apache 1x and 2x, it will bascially allow the u 2 use .htaccess with the passwords in the oscommerce db rather having two different passwords.....![]()
Thank you Arpit & Fridgemags,
Where can i get more info on how to use 'mod_auth_mysql' and .htaccess ? It will be great if the user would not have to login in twice. has anyone created a protected ocommerce website ? Let me know if u know of any easy tutorial, code which i can use to set this up. So that only a registered user sees the site contents.
Thanks for your help
you should be able to get more info on .htaccess folders from your webhost.
contact them and ask for there hosting manual.
if ur server is compiled with mod_auth_mysql , it will be listed under loaded modules when u do phpinfo()
if not, i m sure ur hosting company can do it for u,![]()
hi ArpitOriginally Posted by Arpit
you know setup the mod_auth_mysql 4 oscommerce_db?
I do not succeed to find any guide user frendly for it.
if u have good news..plz post here.
thank you
Frenzis
Bookmarks