[PHP] How to user curl_setopt?

2006-02-07 Thread lhb
Hello, Now I need to use curl to connect to a secure website, I have three certificates files, two .cer files and one .pfx file. After I import the certificates into IE browser, the visit is OK. However, when I use curl_setopt to configure the certificates, it failed. Can anybody help me? Thanks.

Re: [PHP] how to user

2002-10-15 Thread Rasmus Lerdorf
You need to name it name="fieldname[]" in your HTML and then access each selected value using $_REQUEST['fieldname'][0], $_REQUEST['fieldname'][1], ... -Rasmus On Wed, 16 Oct 2002, Khalid El-Kary wrote: > hi, > If i have a form that has a with multiple="ture" how would i be > able to retireve

RE: [PHP] how to user

2002-10-15 Thread John W. Holmes
> -Original Message- > From: John W. Holmes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 15, 2002 9:36 PM > To: 'Khalid El-Kary'; [EMAIL PROTECTED] > Subject: RE: [PHP] how to user > > > hi, > > If i have a form that has a with mult

Re: [PHP] how to user

2002-10-15 Thread Jonathan Sharp
If I remember correctly, you must set the name field with [] to make it an array. Example: then $foo is an array of the selections. -js Khalid El-Kary wrote: > hi, > If i have a form that has a with multiple="ture" how would i be > able to retireve it's multiple values in the PHP script, i

Re: [PHP] how to user

2002-10-15 Thread Chris Wesley
On Wed, 16 Oct 2002, Khalid El-Kary wrote: > If i have a form that has a with multiple="ture" how would i be > able to retireve it's multiple values in the PHP script, i tried the > $_REQUEST['fieldname'] it gave me only the last selected value You need to make sure you get back an array holdin

RE: [PHP] how to user

2002-10-15 Thread John W. Holmes
> hi, > If i have a form that has a with multiple="ture" how would i be > able to retireve it's multiple values in the PHP script, i tried the > $_REQUEST['fieldname'] it gave me only the last selected value > > note: multiple selection is done by holding ctrl :) PHP will make an array for you.

[PHP] how to user

2002-10-15 Thread Khalid El-Kary
hi, If i have a form that has a with multiple="ture" how would i be able to retireve it's multiple values in the PHP script, i tried the $_REQUEST['fieldname'] it gave me only the last selected value note: multiple selection is done by holding ctrl :) khalid ___