473,800 Members | 2,332 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Oscommerce admin login

Hello sir

How to create Oscommerce admin login? Please give me sample code.
Dec 6 '07 #1
1 6636
20************@ gmail.com wrote:
Hello sir

How to create Oscommerce admin login? Please give me sample code.
A default installation of OSCommerce don't have any special
adminstration login. If you want to know how to protect the
administration area one possibility is to create a .htaccess file (if
your webserver is a apache)

A basic .htaccess for password protection the admin directory would look
like:

<code>
AuthName "OSCommerce Administration
AuthType Basic
AuthUserFile /...full absolute path../.htpasswd
require valid-user
</code>

AuthUserFile would be something like
"/var/www/web10/html/admin/.htpasswd" and need to be an absolute path to
the password file.

The file ".htpasswd" contains the login names and encrypted password.
You have to create such a file by using the apache tool "htpasswd" or a
online creator like http://www.htaccesstools.com/htpasswd-generator/.

For more information about htaccess look at:
http://en.wikipedia.org/wiki/Htaccess

Joe
Dec 6 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2444
by: Martin Kiefer | last post by:
Hi there Is there enyone in here that know something about OsCommerce? Because I am having a small problem. I would like to add decimals to my quantity but it won't work if I don't use a . (point). If I use a comma instead it does not work properly. But is it possible to change the point in the quantity in shopping basket to a comma instead of using the point?
10
3669
by: Chris Hope | last post by:
Anyone know of any decent PHP/MySQL OSS ecommerce packages other than osCommerce and ZenCart? From what I've seen of ZenCart it just appears to be a fork of osCommerce and having now set a site up with osCommerce I have seen what a mess it is. It's great if you're happy just using the default layout but I wanted to use a nice customised design and hacking it into osCommerce has been too much hard work. If there isn't much else around...
3
4411
by: Justin Koivisto | last post by:
OK, here's one of the rare times where I call out to all of you. ;) I need to implement a promotional discount code module into osCommerce 2.2 Milestone 2. I've never created an OSC module (because I've never used it before this project), so I need some direction. The things I need to do: * add a promo code field to the Payment Information screen (checkout_payment.php)
2
5324
by: Angie | last post by:
Hello everybody, I have an osCommerce shopping cart on my site, which is an open-source product that uses php. I'm very new to php. I also have an online scheduling application that I outsourced to a third party, which resides on a different server. I asked my scheduling provider if there was anyway I could use my osCommerce php registration for thier registration so I could avoid having visitors to the site register and sign-in twice,...
13
2848
by: Matthew Crouch | last post by:
Okay, I've fiddled with this and I'm not passing judgment. If this application is great and there's just something I don't know, I'd love to learn. Item: Customizations (other than simple layout/color stuff) seem to be really hairy. If I want to add a field to the customer info I collect, I have to hand hack numerous scripts Item: there is a catalog/includes/configure.php that can be overridden by
6
2506
by: Steven Kalcevich | last post by:
Hi all. I am working on finishing an oscommerce based site and need some help. One page is listing in 1 column 6 down, I wish to have a layout of 4 across and 5 down. When there is more then 20 items you can press next to go to page 2 and so on... The page I am talking about is here http://www.philcos.com/catalog/products_new_week.php
4
2464
by: opensourcearts | last post by:
Hello all, I am working on an application that is basically a bridge between oscommerce and gallery2 software, with some other functionality. It will allow users to port all of their media from gallery2 into oscommrce, complete with rights definitions and watermarking. I have spent a lot of time on this application, and I am thinking of selling it as part of a bundled package with creloaded and gallery2.
3
1902
by: Dalibor | last post by:
How to protect administration pages from entering. I put login form on my start page (index.php), and if user put correct data, script redirect him on page admin/admin.php. That works fine! But if someone types in browser admin/admin.php it eneteres same page without login. How to prevent this? -- ..:Dalibor:.
12
3071
by: tvnaidu | last post by:
I have Two kinds of web pagess, one is for control page for only admin login, another one is to view status for user login. initially both html files can view with 192.168.0.10/control.htm and other file is 192.168.0.10/status.htm. I searched on Internet and I got some login code. this login comes when I give 192.168.0.10, then I gets login page, I can login with admin/admin, also I can login with user/user, once login, the corresponding page...
0
10505
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10253
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10035
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6813
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5471
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5606
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4149
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3764
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2945
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.