cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Call curl -v option from PHP program

From: santi wang <smu_research_at_yahoo.com>
Date: Thu, 26 Oct 2006 10:29:39 -0700 (PDT)

Hello All:
   
  Has anyone ever called curl -v option (e.g., curl -v https:// securedwebsite.com) from PHP program? I'm having problem getting the output (certificate information). I try using both exec() and system() functions in PHP, it just doesn't give the output at all.
  However, when I tried it with other curl commands and it seemed to work okay such as curl -h, curl -3 https://..., or curl -I https://...)
  Does anyone know why?
   
  Thanks in advance,
   
  Santi

                 
---------------------------------
 All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-10-26