[PHP] curl_exec not hit server

2009-08-06 Thread Ted Yu
Hi, I use the following code to call third party web service: curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_TIMEOUT, 120); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1); curl_setopt($ch, CURLOPT_SSLVERSION, 3); curl_setopt($ch,

Re: [PHP] curl_exec not hit server

2009-08-06 Thread Ted Yu
] curl_exec not hit server To: Ted Yu ted...@yahoo.com Cc: php-general@lists.php.net Date: Thursday, August 6, 2009, 12:02 PM Can you tell us anything about the cert on the host? Is it self signed, is it expired, etc?  A hip-shot: try turning off VERIFYPEER and VERIFYHOST. Jerry Wilborn jerrywilb

[PHP] post values from HTML to PHP

2003-08-31 Thread Ted Yu
Hi, I found that $_POST['name'] is empty inside my PHP script whose previous HTML page has the following: input type=text name=name How can I retrieve values in input fields ? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php