note 46992 added to function.openssl-x509-parse

From: Date: Fri, 29 Oct 2004 18:15:17 +0000
Subject: note 46992 added to function.openssl-x509-parse
Groups: php.notes 
Request: Send a blank email to php-notes+get-79326@lists.php.net to get a copy of this message
The identifier for the email portion of certificates in the name and subject array have changed since PHP4. In PHP 4.3.0 the following array was returned (displayed my print_r()) [name] => /O=Grid/O=Globus/O=CCR Grid Portal/OU=Portal User/CN=Test User/Email=test@nospam.buffalo.edu [subject] => Array ( [O] => Grid/O=Globus/O=CCR Grid Portal [OU] => Portal User [CN] => Test User [Email] => test@nospam.buffalo.edu ... The result in PHP5 is (note Email -> emailAddress): [name] => /O=Grid/O=Globus/O=CCR Grid Portal/OU=Portal User/CN=Test User/emailAddress=test@nospam.buffalo.edu [subject] => Array ( [O] => Grid/O=Globus/O=CCR Grid Portal [OU] => Portal User [CN] => Test User [emailAddress] => test@nospam.buffalo.edu ... Of course, the manual DOES say this could happen. :) ---- Manual Page -- http://www.php.net/manual/en/function.openssl-x509-parse.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+46992 Delete -- http://master.php.net/manage/user-notes.php?action=delete+46992&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46992&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46992&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46992&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46992&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46992&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+46992&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#79326) next »