Passcoding the smartadmin

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

I would like to know if there is script available to passcode the smartadmin. Is there a feature in smartadmin that allows this?

-- Rob Guida (rob@sasscom.com), January 14, 2000

Answers

Just a hint... would be very easy to do something like this for example:

make a field called "pw" and tell the script something like "If $command eq 'additem' (or whatever) and $pw eq 'yourpass' then ......

So, using the script you would just pass the "pw" variable on from page to page.

Ex: http://www.yoururl.com/cgi-bin/smartadmin?command=additem&pw=yourpass

Don't have all the details worked out but at least it will give you a real good idea of how to implement it without too much work.

Hope this helps!

-BP

-- BP (bppilot@aol.com), January 14, 2000.


Moderation questions? read the FAQ