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

curl-and-php

anybody know how to open an https page?

From: Web GA, for Web Office <WebGA_at_CGSB.TAMU.EDU>
Date: Fri, 27 Feb 2004 11:00:32 -0600

The following code doesn't work.

<?php
$ch = curl_init ("https://maysportal.tamu.edu/bo.php");

curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION,1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $formvars);

// perform post
$rr=curl_exec($ch);
echo $rr;
curl_close($ch);
?>

Thanks,
----------------------------------------
          Zhang, Bo
    WebGA for Web Office
    Mays Business School
    Texas A&M University
  College Station, TX 77840
----------------------------------------
Received on 2004-02-27