Article ID: 775, created on Oct 6, 2008, last review on Apr 25, 2014

  • Applies to:
  • Plesk 7.5 for Windows


You can use the following PHP variables for clients session to determine locale and php session Id:


And then you can determine a user skin with the help of mysql queries like:

1. select login from sessions where sess_id='<php_session_id>';
this query will show you the client's login name for current session.

2. select c.login,, from clients c, cl_param cl, Skins s where and cl.param='skin_id' and c.login='<user_name>' and;

Where <user_name> is the client's login name for current session. This query will show you the user name, the skin name and the skin ID.

3. Also you can determine the locale with the query:

select locale from clients where login='<user_name>';

You can use mysql user 'admin' with the same password as for the control panel admin login. You can place all custom php scripts into admin's document root :


a914db3fdc7a53ddcfd1b2db8f5a1b9c eeda7e5e81623f3acf0bdb69fa51d540 85a92ca67f2200d36506862eaa6ed6b8 c0c38d2367acfa8909699e0b34b01dea 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF