php - How to login using OSCommerce customers database? -
i have website , i'm using oscommerce shoppig cart. need make user login site using oscommerce email , password.
i know there function
tep_validate_password($plain, $encrypted)
but when tried this:
require('market/catalog/includes/functions/password_funcs.php'); $x = tep_validate_password('0123272502','$p$dhxb6skb3xydesvygfvbpnq62urxpb.'); if($x == true){echo 'true';} else {echo 'false';}
it returns nothing @ all.
am using wrong?
your encrypted password oscommerce 2.2 should 19f1a88bdf871623e92cd12d29718d01:83 not $p$dhxb6skb3xydesvygfvbpnq62urxpb.
if using oscommerce 2.3.x u have define dir_ws_classes , used inside included function.
Comments
Post a Comment