converting some perl script to php
| From: | rdkurth at starband dot net | Date: | Wed, 12 Jun 2002 07:56:21 +0000 |
| Subject: | converting some perl script to php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101699@lists.php.net to get a copy of this message | ||
How can I do this in PHP. Could somebody just point me in the write
direction
open (REQ, "|$Openssl_cmd req -new -config /usr/lib/openssl.cnf "
. "-key $cert_dir/key -days $days -out $cert_dir/request 1>&2")
||
return MSG_error("ssl_cant_gen_request");
print REQ <<USER_INFO;
$subject{'C'}
$subject{'ST'}
$subject{'L'}
$subject{'O'}
$subject{'OU'}
$subject{'CN'}
$subject{'Email'}
USER_INFO
;
close REQ;
--
Best regards,
rdkurth mailto:rdkurth@starband.net