1. Home
  2. Security
  3. User ID card information

User ID card information

If you have installed ID card support in the right directory, and you want to display visitor ID card information in your PHP applications, you can do this using the environment variables passed to PHP by the web server.
To read environment variables, there is the PHP function getenv(). To identify the client, there is the SSL_CLIENT_S_DN variable, which also contains the visitor’s first name, last name, and personal code.
All variables can be viewed with phpinfo() (variables related to the ID card certificate are under Apache Environment with the prefix SSL_CLIENT_*).

Updated on 4. Apr 2024

Was this article helpful?

Related Articles