Re: Equivalent of this in php

From: Date: Wed, 12 Jun 2002 17:23:07 +0000
Subject: Re: Equivalent of this in php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-101773@lists.php.net to get a copy of this message
not checked, but something like: $fp = popen("|$Openssl_cmd req -new -config /usr/lib/openssl.cnf " . "-key $cert_dir/key -days $days -out $cert_dir/request 1>&2") || return("doh!"); fputs($fp, $subject['C'] . "\n"); ... ... ... pclose($fp); On Wed, 12 Jun 2002 rdkurth@starband.net wrote: > > > What would be the equivalent of this in php. Mostly the open (REQ and > the print REQ <<USER_INFO; to the close REQ; 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 > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#101773) next »