Re: [PHP] trouble with function openssl_csr_new()

2007-03-23 Thread Richard Lynch
On Wed, March 21, 2007 5:05 am, Albert Kopka wrote: > > Hi ... > > I want to generate certificate for smardcard login (MS Win-XP) > and for do that the subject of certificate should contain same key > (in key:value of $dn) multiple times for example ... > > cert generated by ca suplied with W-2

[PHP] trouble with function openssl_csr_new()

2007-03-21 Thread Albert Kopka
Hi ... I want to generate certificate for smardcard login (MS Win-XP) and for do that the subject of certificate should contain same key (in key:value of $dn) multiple times for example ... cert generated by ca suplied with W-2003 server for smartcard login contains: Subject: DC = local,

Re: [PHP] trouble with function

2002-08-25 Thread Justin French
Thanks for all your help :) Justin on 26/08/02 1:55 AM, Michael Sims ([EMAIL PROTECTED]) wrote: > On Sun, 25 Aug 2002 10:49:00 -0500, you wrote: > >> static $myrow; >> if($myrow = mysql_fetch_array($result)) { > [...] > > Oops. We want to remember the position of the result set, so it's > $r

Re: [PHP] trouble with function

2002-08-25 Thread Michael Sims
On Sun, 25 Aug 2002 10:49:00 -0500, you wrote: >static $myrow; >if($myrow = mysql_fetch_array($result)) { [...] Oops. We want to remember the position of the result set, so it's $result that should be static, not $myrow. In addition, you'll have to put a check at the top of the function to see

Re: [PHP] trouble with function

2002-08-25 Thread Michael Sims
On Mon, 26 Aug 2002 01:12:56 +1000, you wrote: >However, I was hoping to use it in a similar way that I use mysql in the >above code... something like: >while($song = getSongByArtist(4)) >{ >echo song['title']; >echo song['writers']; >echo song['video']; >echo song['artist_id'

Re: [PHP] trouble with function

2002-08-25 Thread Matt
next entry. - Original Message - From: "Justin French" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Sunday, August 25, 2002 11:12 AM Subject: [PHP] trouble with function > Hi, > > This is the first time I've REALLY tackled multi-dimensional arra

[PHP] trouble with function

2002-08-25 Thread Justin French
Hi, This is the first time I've REALLY tackled multi-dimensional arrays, in conjunctions with functions. I like the way this code works: So I built a function which returns a multi-dimensional array: $v) { $$k = $v; } $songs["$id"] = array(