PHP cURL : File upload is sucessful in Windows but not in UNIX.
desai shweta <setuset_desai <at> hotmail.com>
2007-12-03 23:43:59 GMT
Hi Everyone,
I am not able to Upload the file to remote server in UNIX environment. The same PHP-cURL script is working fine in Windows environment.
I have attached my PHP script and logs with this email.
First 4 screens traverse including login is working fine in both environment.
Only uploading part is not working in UNIX.
I am not sure if I am missing something. Steps of upload are written below.
Version of PHP : 5.1.4
Version of cURL: 7.15
$STEPSEVENURL = 'https:\\www.PPPP.com\F\UplFile.aspx';
$reffer = 'https:\\www.PPPP.com\F\UplFile.aspx';
$postData = array();
$postData[ '__VIEWSTATE' ] = $startposition_6;
$postData[ 'Uplod' ] = $uploadFile;
$postData[ 'Submit' ] = 'Submit';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$STEPSEVENURL);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_USERAGENT, $agent);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS,$postData);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
curl_setopt($ch, CURLOPT_REFERER, $reffer);
curl_setopt($ch, CURLOPT_COOKIEFILE, $cookie_file_path);
curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie_file_path);
\\output to file
$fp = fopen ($step6file, 'w');
curl_setopt ($ch , CURLOPT_FILE, $fp);
\\execute
$result =curl_exec ($ch );
\\ print errors
print_r(curl_getinfo($ch));
echo '\n\ncURL error number:' .curl_errno($ch);
echo '\n\ncURL error:' . curl_error($ch);
\\close resources
curl_close ($ch );
fclose ($fp);
Your input will be very appreciated.
Thanks & Regards,
SMD
Live the life in style with MSN Lifestyle. Check out!
Try it now!
EMPLOYEE FILE :: <at> /work01/Test_tmp.txt
filename :: /work01/Test_Temp_hdr.txt
################## READ INPUT FILE ###########
###### POST 'UID'/'PWD' 'LOGIN' #######Array
(
[url] => https://www.PPPP.org/upload/
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 348
[request_size] => 257
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 2.416396
[namelookup_time] => 0.112041
[connect_time] => 0.20109
[pretransfer_time] => 0.731048
[size_upload] => 0
[size_download] => 9045
[speed_download] => 3743
[speed_upload] => 0
[download_content_length] => 9045
[upload_content_length] => -1
[starttransfer_time] => 0.946255
[redirect_time] => 0
)
cURL error number:0
cURL error:######
EXIT POST 'UID'/'PWD' 'LOGIN' ############# POST 'UID'/'PWD' 'LOGIN' #######Array
(
[url] => https://www.PPPP.org/upload/ach_credit_auth.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 284
[request_size] => 388
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 2.43639
[namelookup_time] => 9.7E-05
[connect_time] => 0.075702
[pretransfer_time] => 0.604635
[size_upload] => 0
[size_download] => 9045
[speed_download] => 3712
[speed_upload] => 0
[download_content_length] => 9045
[upload_content_length] => -1
[starttransfer_time] => 0.761519
[redirect_time] => 0
)
cURL error number:0
cURL error:######
EXIT POST 'UID'/'PWD' 'LOGIN' ############# POST 'UID'/'PWD' 'LOGIN' #######Array
(
[url] => https://www.PPPP.org/upload/F/ach_acct.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 533
[request_size] => 1579
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 1
[total_time] => 2.488983
[namelookup_time] => 0.0001
[connect_time] => 0.000107
[pretransfer_time] => 0.000359
[size_upload] => 0
[size_download] => 9278
[speed_download] => 3727
[speed_upload] => 0
[download_content_length] => 9278
[upload_content_length] => 0
[starttransfer_time] => 1.734997
[redirect_time] => 0.753152
)
cURL error number:0
cURL error:######
EXIT POST 'UID'/'PWD' 'LOGIN' #############
ENTER STEP 3 0f 'Bulk Filling' #######Array
(
[url] => https://www.PPPP.org/upload/F/fid_search.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 575
[request_size] => 716
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 1
[total_time] => 2.445442
[namelookup_time] => 9.6E-05
[connect_time] => 0.000103
[pretransfer_time] => 0.000285
[size_upload] => 0
[size_download] => 9628
[speed_download] => 3937
[speed_upload] => 0
[download_content_length] => 9628
[upload_content_length] => 0
[starttransfer_time] => 1.407498
[redirect_time] => 0.875465
)
cURL error number:0
cURL error:######
EXIT STEP 3 0f 'Bulk Filling' #############
ENTER STEP 4 0f 'Bulk Filling' #######Array
(
[url] => https://www.PPPP.org/upload/F/step.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 571
[request_size] => 727
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 1
[total_time] => 3.006498
[namelookup_time] => 9.8E-05
[connect_time] => 0.000105
[pretransfer_time] => 0.000993
[size_upload] => 0
[size_download] => 24997
[speed_download] => 8314
[speed_upload] => 0
[download_content_length] => 24997
[upload_content_length] => 0
[starttransfer_time] => 0.383875
[redirect_time] => 0.826495
)
cURL error number:0
cURL error:######
EXIT STEP 4 0f 'Bulk Filling' #######
########### START STEP 5.1 : PARSE THE HIDDEN PARAMETER FROM STEP 4 #######
########### EXIT STEP 5.1 : PARSE THE HIDDEN PARAMETER FROM STEP 4 #############
ENTER STEP 5.2 0f 'Bulk Filling' #######Array
(
[url] => https://www.PPPP.org/upload/F/UplFile.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 572
[request_size] => 751
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 1
[total_time] => 2.370844
[namelookup_time] => 9.3E-05
[connect_time] => 0.0001
[pretransfer_time] => 0.000288
[size_upload] => 0
[size_download] => 9379
[speed_download] => 3955
[speed_upload] => 0
[download_content_length] => 9379
[upload_content_length] => 0
[starttransfer_time] => 1.453011
[redirect_time] => 0.819407
)
cURL error number:0
cURL error:######
EXIT STEP 5.2 0f 'Bulk Filling' #######
########### START STEP 6.1 : PARSE THE HIDDEN PARAMETER FROM STEP 5.2 #######
########### EXIT STEP 6.1 : PARSE THE HIDDEN PARAMETER FROM STEP 5.2 #############
ENTER STEP 6.2 0f 'Bulk Filling' #######Array
(
[url] => https://www.PPPP.org/upload/F/UplFile.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 500
[header_size] => 303
[request_size] => 447
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 3.864782
[namelookup_time] => 6.1E-05
[connect_time] => 0.068523
[pretransfer_time] => 0.572471
[size_upload] => 1357142
[size_download] => 3036
[speed_download] => 785
[speed_upload] => 351156
[download_content_length] => 3036
[upload_content_length] => 1357142
[starttransfer_time] => 0.642146
[redirect_time] => 0
)
cURL error number:0
cURL error:######
EXIT STEP 6.2 0f 'Bulk Filling' #######
EMPLOYEE FILE :: <at> Test_Temp.txt
################## READ INPUT FILE ###########
###### POST 'UID'/'PWD' 'LOGIN' #######Array
(
[url] => https://www.PPPP.org/upload/
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 348
[request_size] => 257
[filetime] => -1
[ssl_verify_result] => 20
[redirect_count] => 0
[total_time] => 2.248
[namelookup_time] => 0.06
[connect_time] => 0.132
[pretransfer_time] => 2.076
[size_upload] => 0
[size_download] => 9045
[speed_download] => 4023
[speed_upload] => 0
[download_content_length] => 9045
[upload_content_length] => -1
[starttransfer_time] => 2.246
[redirect_time] => 0
)
cURL error number:0
cURL error:######
EXIT POST 'UID'/'PWD' 'LOGIN' ############# POST 'UID'/'PWD' 'LOGIN' #######Array
(
[url] => https://www.PPPP.org/upload/ach_credit_auth.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 284
[request_size] => 388
[filetime] => -1
[ssl_verify_result] => 20
[redirect_count] => 0
[total_time] => 2.131
[namelookup_time] => 0
[connect_time] => 0.072
[pretransfer_time] => 0.279
[size_upload] => 0
[size_download] => 9045
[speed_download] => 4244
[speed_upload] => 0
[download_content_length] => 9045
[upload_content_length] => -1
[starttransfer_time] => 0.472
[redirect_time] => 0
)
cURL error number:0
cURL error:######
EXIT POST 'UID'/'PWD' 'LOGIN' ############# POST 'UID'/'PWD' 'LOGIN' #######Array
(
[url] => https://www.PPPP.org/upload/F/ach_acct.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 533
[request_size] => 1579
[filetime] => -1
[ssl_verify_result] => 20
[redirect_count] => 1
[total_time] => 2.324
[namelookup_time] => 0.003
[connect_time] => 0.003
[pretransfer_time] => 0.028
[size_upload] => 0
[size_download] => 9278
[speed_download] => 3992
[speed_upload] => 0
[download_content_length] => 9278
[upload_content_length] => 0
[starttransfer_time] => 1.906
[redirect_time] => 0.387
)
cURL error number:0
cURL error:######
EXIT POST 'UID'/'PWD' 'LOGIN' #############
ENTER STEP 3 0f 'Bulk Filling' #######Array
(
[url] => https://www.PPPP.org/upload/F/fid_search.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 575
[request_size] => 716
[filetime] => -1
[ssl_verify_result] => 20
[redirect_count] => 1
[total_time] => 2.392
[namelookup_time] => 0.004
[connect_time] => 0.004
[pretransfer_time] => 0.029
[size_upload] => 0
[size_download] => 9628
[speed_download] => 4025
[speed_upload] => 0
[download_content_length] => 9628
[upload_content_length] => 0
[starttransfer_time] => 1.783
[redirect_time] => 0.579
)
cURL error number:0
cURL error:######
EXIT STEP 3 0f 'Bulk Filling' #############
ENTER STEP 4 0f 'Bulk Filling' #######Array
(
[url] => https://www.PPPP.org/upload/F/step2.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 571
[request_size] => 727
[filetime] => -1
[ssl_verify_result] => 20
[redirect_count] => 1
[total_time] => 2.627
[namelookup_time] => 0.003
[connect_time] => 0.003
[pretransfer_time] => 0.028
[size_upload] => 0
[size_download] => 24997
[speed_download] => 9515
[speed_upload] => 0
[download_content_length] => 24997
[upload_content_length] => 0
[starttransfer_time] => 0.657
[redirect_time] => 0.508
)
cURL error number:0
cURL error:######
EXIT STEP 4 0f 'Bulk Filling' #######
########### START STEP 5.1 : PARSE THE HIDDEN PARAMETER FROM STEP 4 #######
########### EXIT STEP 5.1 : PARSE THE HIDDEN PARAMETER FROM STEP 4 #############
ENTER STEP 5.2 0f 'Bulk Filling' #######Array
(
[url] => https://www.PPPP.org/upload/F/UplFile.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 572
[request_size] => 751
[filetime] => -1
[ssl_verify_result] => 20
[redirect_count] => 1
[total_time] => 2.354
[namelookup_time] => 0.003
[connect_time] => 0.003
[pretransfer_time] => 0.028
[size_upload] => 0
[size_download] => 9379
[speed_download] => 3984
[speed_upload] => 0
[download_content_length] => 9379
[upload_content_length] => 0
[starttransfer_time] => 1.764
[redirect_time] => 0.562
)
cURL error number:0
cURL error:######
EXIT STEP 5.2 0f 'Bulk Filling' #######
########### START STEP 6.1 : PARSE THE HIDDEN PARAMETER FROM STEP 5.2 #######
########### EXIT STEP 6.1 : PARSE THE HIDDEN PARAMETER FROM STEP 5.2 #############
ENTER STEP 6.2 0f 'Bulk Filling' #######Array
(
[url] => https://www.PPPP.org/upload/F/UplFile.aspx
[content_type] => text/html; charset=utf-8
[http_code] => 200
[header_size] => 284
[request_size] => 447
[filetime] => -1
[ssl_verify_result] => 20
[redirect_count] => 0
[total_time] => 10.544
[namelookup_time] => 0
[connect_time] => 0.079
[pretransfer_time] => 0.286
[size_upload] => 1359847
[size_download] => 8895
[speed_download] => 843
[speed_upload] => 128968
[download_content_length] => 8895
[upload_content_length] => 1359847
[starttransfer_time] => 0.334
[redirect_time] => 0
)
cURL error number:0
cURL error:######
EXIT STEP 6.2 0f 'Bulk Filling' #######
Accept: */*
Referer: https://www.PPPP.org/
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
Content-Length: 0
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 9045
< Date: Sat, 01 Dec 2007 00:20:01 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* found 59 certificates in /opt/TWWfsw/curl715/share/ca-bundle.crt
* server certificate verification FAILED
* common name: www.PPPP.org (matched)
* certificate public key: RSA
* certificate version: #3
* subject: C=US,ST=XXPPPP,L=XXPP,O=XXPP/Jefferson County Metro Revenue Commission,OU=Revenue
Technology Services,CN=www.PPPP.org
* start date: Wed, 25 Apr 2007 17:33:58 GMT
* expire date: Sun, 03 May 2009 18:51:59 GMT
* issuer: C=US,ST=PPXX,L=Scottsdale,O=GoDaddy.com\,
Inc.,OU=http://certificates.godaddy.com/repository,CN=Go Daddy Secure Certification Authority,serialNumber=07969287
* compression: NULL
* cipher: ARCFOUR 128
* MAC: MD5
> POST /ach_credit_auth.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
Content-Length: 915
Content-Type: application/x-www-form-urlencoded
__VIEWSTATE=dDw3ODc3NDY1NDA7dDw7bDxpPDE%2BOz47bDx0PDtsPGk8MT47aTwzPjtpPDU%2BO2k8Nz47aTw5PjtpPDExPjtpPDEzPjs%2BO2w8dDxwPGw8aHJlZjs%2BO2w8aHR0cDovL3d3dy5sb3Vpc3ZpbGxla3kuZ292L3JldmVudWU7Pj47Oz47dDxwPGw8aHJlZjs%2BO2w8aHR0cDovL3d3dy5sb3Vpc3ZpbGxla3kuZ292L3JldmVudWUvY29udGFjdC5odG07Pj47Oz47dDxwPGw8aHJlZjs%2BO2w8aHR0cDovL3d3dy5sb3Vpc3ZpbGxla3kuZ292L3JldmVudWUvZm9ybXMuaHRtOz4%2BOzs%2BO3Q8cDxsPGhyZWY7PjtsPGh0dHA6Ly93d3cubG91aXN2aWxsZWt5Lmdvdi9yZXZlbnVlL2Vs
< Connection: Keep-Alive
< Content-Length: 148
< Date: Sat, 01 Dec 2007 00:20:03 GMT
< Location: /Forms/ach_acct.aspx
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Ignoring the response-body
* Connection #0 to host www.PPPP.org left intact
* Issue another request to this URL: 'https://www.PPPP.org/Forms/ach_acct.aspx'
* Disables POST, goes with GET
* Re-using existing connection! (#0) with host www.PPPP.org
* Connected to www.PPPP.org (216.26.140.1) port 443
> GET /Forms/ach_acct.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 9278
< Date: Sat, 01 Dec 2007 00:20:03 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* found 59 certificates in /opt/TWWfsw/curl715/share/ca-bundle.crt
* server certificate verification FAILED
* common name: www.PPPP.org (matched)
* certificate public key: RSA
* certificate version: #3
* subject: C=US,ST=XXPPPP,L=XXPP,O=XXPP/Jefferson County Metro Revenue Commission,OU=Revenue
Technology Services,CN=www.PPPP.org
* start date: Wed, 25 Apr 2007 17:33:58 GMT
* expire date: Sun, 03 May 2009 18:51:59 GMT
* issuer: C=US,ST=PPXX,L=Scottsdale,O=GoDaddy.com\,
Inc.,OU=http://certificates.godaddy.com/repository,CN=Go Daddy Secure Certification Authority,serialNumber=07969287
* compression: NULL
* cipher: ARCFOUR 128
* MAC: MD5
> POST /Forms/ach_acct.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/ach_acct
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
Content-Length: 1244
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
< HTTP/1.1 302 Found
< Connection: Keep-Alive
< Content-Length: 150
< Date: Sat, 01 Dec 2007 00:20:06 GMT
< Location: /Forms/fid_search.aspx
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Ignoring the response-body
* Connection #0 to host www.PPPP.org left intact
* Issue another request to this URL: 'https://www.PPPP.org/Forms/fid_search.aspx'
* Disables POST, goes with GET
* Re-using existing connection! (#0) with host www.PPPP.org
* Connected to www.PPPP.org (216.26.140.1) port 443
> GET /Forms/fid_search.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/ach_acct
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 9628
< Date: Sat, 01 Dec 2007 00:20:08 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* found 59 certificates in /opt/TWWfsw/curl715/share/ca-bundle.crt
* server certificate verification FAILED
* common name: www.PPPP.org (matched)
* certificate public key: RSA
* certificate version: #3
* subject: C=US,ST=XXPPPP,L=XXPP,O=XXPP/Jefferson County Metro Revenue Commission,OU=Revenue
Technology Services,CN=www.PPPP.org
* start date: Wed, 25 Apr 2007 17:33:58 GMT
* expire date: Sun, 03 May 2009 18:51:59 GMT
* issuer: C=US,ST=PPXX,L=Scottsdale,O=GoDaddy.com\,
Inc.,OU=http://certificates.godaddy.com/repository,CN=Go Daddy Secure Certification Authority,serialNumber=07969287
* compression: NULL
* cipher: ARCFOUR 128
* MAC: MD5
> POST /Forms/fid_search.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/fid_search.aspx
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
Content-Length: 1263
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
< HTTP/1.1 302 Found
< Connection: Keep-Alive
< Content-Length: 145
< Date: Sat, 01 Dec 2007 00:20:09 GMT
< Location: /Forms/step2.aspx
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Ignoring the response-body
* Connection #0 to host www.PPPP.org left intact
* Issue another request to this URL: 'https://www.PPPP.org/Forms/step2.aspx'
* Disables POST, goes with GET
* Re-using existing connection! (#0) with host www.PPPP.org
* Connected to www.PPPP.org (216.26.140.1) port 443
> GET /Forms/step2.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/fid_search.aspx
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 24997
< Date: Sat, 01 Dec 2007 00:20:09 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* found 59 certificates in /opt/TWWfsw/curl715/share/ca-bundle.crt
* server certificate verification FAILED
* common name: www.PPPP.org (matched)
* certificate public key: RSA
* certificate version: #3
* subject: C=US,ST=XXPPPP,L=XXPP,O=XXPP/Jefferson County Metro Revenue Commission,OU=Revenue
Technology Services,CN=www.PPPP.org
* start date: Wed, 25 Apr 2007 17:33:58 GMT
* expire date: Sun, 03 May 2009 18:51:59 GMT
* issuer: C=US,ST=PPXX,L=Scottsdale,O=GoDaddy.com\,
Inc.,OU=http://certificates.godaddy.com/repository,CN=Go Daddy Secure Certification Authority,serialNumber=07969287
* compression: NULL
* cipher: ARCFOUR 128
* MAC: MD5
> POST /Forms/step2.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/step2.aspx
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
Content-Length: 3972
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------21266ba80d14
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
< HTTP/1.1 302 Found
< Connection: Keep-Alive
< Content-Length: 147
< Date: Sat, 01 Dec 2007 00:20:12 GMT
< Location: /Forms/UplFile.aspx
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Ignoring the response-body
* Connection #0 to host www.PPPP.org left intact
* Issue another request to this URL: 'https://www.PPPP.org/Forms/UplFile.aspx'
* Disables POST, goes with GET
* Re-using existing connection! (#0) with host www.PPPP.org
* Connected to www.PPPP.org (216.26.140.1) port 443
> GET /Forms/UplFile.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/step2.aspx
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 9379
< Date: Sat, 01 Dec 2007 00:20:12 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* found 59 certificates in /opt/TWWfsw/curl715/share/ca-bundle.crt
* server certificate verification FAILED
* common name: www.PPPP.org (matched)
* certificate public key: RSA
* certificate version: #3
* subject: C=US,ST=XXPPPP,L=XXPP,O=XXPP/Jefferson County Metro Revenue Commission,OU=Revenue
Technology Services,CN=www.PPPP.org
* start date: Wed, 25 Apr 2007 17:33:58 GMT
* expire date: Sun, 03 May 2009 18:51:59 GMT
* issuer: C=US,ST=PPXX,L=Scottsdale,O=GoDaddy.com\,
Inc.,OU=http://certificates.godaddy.com/repository,CN=Go Daddy Secure Certification Authority,serialNumber=07969287
* compression: NULL
* cipher: ARCFOUR 128
* MAC: MD5
> POST /Forms/UplFile.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/UplFile.aspx
Cookie: ASP.NET_SessionId=b1t55c45szrrlwqbp55jhu45
Content-Length: 1357142
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------bc90bc0f8e11
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
< HTTP/1.1 500 Internal Server Error
< Connection: Keep-Alive
< Content-Length: 3036
< Date: Sat, 01 Dec 2007 00:20:18 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
$
< Cache-Control: private
* Curl_xxx_rcvs returned -1, block = TRUE
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=XXPPPP/L=XXPP/O=XXPP/Jefferson County Metro Revenue Commission/OU=Revenue
Technology Services/CN=www.PPPP.org
* start date: 2007-04-25 17:33:58 GMT
* expire date: 2009-05-03 18:51:59 GMT
* issuer: /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com,
Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
* SSL certificate verify result: error number 1 (20), continuing anyway.
> POST /ach_credit_auth.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
Content-Length: 915
Content-Type: application/x-www-form-urlencoded
__VIEWSTATE=dDw3ODc3NDY1NDA7dDw7bDxpPDE%2BOz47bDx0PDtsPGk8MT47aTwzPjtpPDU%2BO2k8Nz47aTw5PjtpPDExPjtpPDEzPjs%2BO2w8dDxwPGw8aHJlZjs%2BO2w8aHR0cDovL3d3dy5sb3Vpc3ZpbGxla3kuZ292L3JldmVudWU7Pj47Oz47dDxwPGw8aHJlZjs%2BO2w8aHR0cDovL3d3dy5sb3Vpc3ZpbGxla3kuZ292L3JldmVudWUvY29udGFjdC5odG07Pj47Oz47dDxwPGw8aHJlZjs%2BO2w8aHR0cDovL3d3dy5sb3Vpc3ZpbGxla3kuZ292L3Jldm
< Connection: Keep-Alive
< Content-Length: 148
< Date: Fri, 30 Nov 2007 23:47:44 GMT
< Location: /Forms/ach_acct.aspx
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Ignoring the response-body
* Connection #0 to host www.PPPP.org left intact
* Issue another request to this URL: 'https://www.PPPP.org/Forms/ach_acct.aspx'
* Disables POST, goes with GET
* Re-using existing connection! (#0) with host www.PPPP.org
* Connected to www.PPPP.org (216.26.140.1) port 443
> GET /Forms/ach_acct.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 9278
< Date: Fri, 30 Nov 2007 23:47:44 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=XXPPPP/L=XXPP/O=XXPP/Jefferson County Metro Revenue Commission/OU=Revenue
Technology Services/CN=www.PPPP.org
* start date: 2007-04-25 17:33:58 GMT
* expire date: 2009-05-03 18:51:59 GMT
* issuer: /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com,
Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
* SSL certificate verify result: error number 1 (20), continuing anyway.
> POST /Forms/ach_acct.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/ach_acct
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
Content-Length: 1244
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
< HTTP/1.1 302 Found
< Connection: Keep-Alive
< Content-Length: 150
< Date: Fri, 30 Nov 2007 23:47:46 GMT
< Location: /Forms/fid_search.aspx
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Ignoring the response-body
* Connection #0 to host www.PPPP.org left intact
* Issue another request to this URL: 'https://www.PPPP.org/Forms/fid_search.aspx'
* Disables POST, goes with GET
* Re-using existing connection! (#0) with host www.PPPP.org
* Connected to www.PPPP.org (216.26.140.1) port 443
> GET /Forms/fid_search.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/ach_acct
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 9628
< Date: Fri, 30 Nov 2007 23:47:47 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=XXPPPP/L=XXPP/O=XXPP/Jefferson County Metro Revenue Commission/OU=Revenue
Technology Services/CN=www.PPPP.org
* start date: 2007-04-25 17:33:58 GMT
* expire date: 2009-05-03 18:51:59 GMT
* issuer: /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com,
Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
* SSL certificate verify result: error number 1 (20), continuing anyway.
> POST /Forms/fid_search.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/fid_search.aspx
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
Content-Length: 1263
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
< HTTP/1.1 302 Found
< Connection: Keep-Alive
< Content-Length: 145
< Date: Fri, 30 Nov 2007 23:47:49 GMT
< Location: /Forms/step2.aspx
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Ignoring the response-body
* Connection #0 to host www.PPPP.org left intact
* Issue another request to this URL: 'https://www.PPPP.org/Forms/step2.aspx'
* Disables POST, goes with GET
* Re-using existing connection! (#0) with host www.PPPP.org
* Connected to www.PPPP.org (216.26.140.1) port 443
> GET /Forms/step2.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/fid_search.aspx
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 24997
< Date: Fri, 30 Nov 2007 23:47:49 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=XXPPPP/L=XXPP/O=XXPP/Jefferson County Metro Revenue Commission/OU=Revenue
Technology Services/CN=www.PPPP.org
* start date: 2007-04-25 17:33:58 GMT
* expire date: 2009-05-03 18:51:59 GMT
* issuer: /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com,
Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
* SSL certificate verify result: error number 1 (20), continuing anyway.
> POST /Forms/step2.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/step2.aspx
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
Content-Length: 3972
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------dd322a935227
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
< HTTP/1.1 302 Found
< Connection: Keep-Alive
< Content-Length: 147
< Date: Fri, 30 Nov 2007 23:47:51 GMT
< Location: /Forms/UplFile.aspx
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Ignoring the response-body
* Connection #0 to host www.PPPP.org left intact
* Issue another request to this URL: 'https://www.PPPP.org/Forms/UplFile.aspx'
* Disables POST, goes with GET
* Re-using existing connection! (#0) with host www.PPPP.org
* Connected to www.PPPP.org (216.26.140.1) port 443
> GET /Forms/UplFile.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/step2.aspx
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 9379
< Date: Fri, 30 Nov 2007 23:47:52 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
* About to connect() to www.PPPP.org port 443
* Trying 216.26.140.1... * connected
* Connected to www.PPPP.org (216.26.140.1) port 443
* SSL connection using RC4-MD5
* Server certificate:
* subject: /C=US/ST=XXPPPP/L=XXPP/O=XXPP/Jefferson County Metro Revenue Commission/OU=Revenue
Technology Services/CN=www.PPPP.org
* start date: 2007-04-25 17:33:58 GMT
* expire date: 2009-05-03 18:51:59 GMT
* issuer: /C=US/ST=Arizona/L=Scottsdale/O=GoDaddy.com,
Inc./OU=http://certificates.godaddy.com/repository/CN=Go Daddy Secure Certification Authority/serialNumber=07969287
* SSL certificate verify result: error number 1 (20), continuing anyway.
> POST /Forms/UplFile.aspx HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Host: www.PPPP.org
Accept: */*
Referer: https://www.PPPP.org/Forms/UplFile.aspx
Cookie: ASP.NET_SessionId=1akxsirwyu2qcb34ihkl2u24
Content-Length: 1359847
Expect: 100-continue
Content-Type: multipart/form-data; boundary=----------------------------72b01f25367b
< HTTP/1.1 100 Continue
< Via: 1.1 ISA1
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
* Curl_xxx_rcvs returned -1, block = TRUE
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Content-Length: 8895
< Date: Fri, 30 Nov 2007 23:48:02 GMT
< Content-Type: text/html; charset=utf-8
< Server: Microsoft-IIS/6.0
< X-Powered-By: ASP.NET
< X-AspNet-Version: 1.1.4322
< Cache-Control: private
* Connection #0 to host www.PPPP.org left intact
* Closing connection #0
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php