Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

UserName


MoisesZaragoza

Recommended Posts

Posted

I created a file.

 

I have checked that acsess level and I know that they are log in.

is there any way to find out who is the user that is log in and there info

at the end of the day the code will be good

Posted

Don't understand the problem, can you be a little more specific?

 

--Peter

CE PHOENIX SUPPORTER

Support the Project, go PRO and get access to certified add ons

Full-time I am a C-suite executive of a large retail company in Australia. In my spare time, I enjoying learning about web-design.

Download the latest version of CE Phoenix from gitHub here

Posted

Well I can find out that the user is log in with

 

 if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}

 

I change that to read

 

if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
 }else{
  $mycustomer_id=tep_session_is_registered('customer_id');  
# $mycustomer_id= 1 
 }

so I am getting the wrong information I would like to get the name and the ID of the person that is log in

at the end of the day the code will be good

Archived

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

×
×
  • Create New...