[Pro] PHP, cURL and Cookies

Hi Walter,

Moving those 2 lines of code to the top would yield this script:

<?php
    ini_set('display_errors', true);
    error_reporting(E_ALL);
    $curl = curl_init();
    curl_setopt ($curl, CURLOPT_URL, "http://hartford.macusa.net/fmi/iwp/cgi?-db=Install_Info.fp7&-startsession");
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    $result = curl_exec ($curl);
    curl_close ($curl);
    print $result; 
?>

I still get a blank page.

The script can be executed from off my server via the following URL:

http://kiramek.com/curl_FMDB-LoginPage_test.php

Note that I also have the following lines within my .htaccess file on the server:

php_flag display_errors 1
php_value error_reporting 30719

Best,

James W.


dynamo mailing list
email@hidden
Update your subscriptions at: