Here is the script
Code:
$username="yumiyao0926"; $password="yumiyao0926"; $url="http://www.hotfile.com/login.php"; $cookie="cookie.txt";
$username="yumiyao0926"; $password="yumiyao0926"; $url="http://www.hotfile.com/login.php"; $cookie="cookie.txt";
$url = "http://opanet.hrsa.gov/OPA/Reports/Reports.aspx";
<?php
$contentType = 'text/plain';
$file = 'http://mysite.com/test.txt';
$fp = fopen('/path/to/save/mytest.txt', 'w');
$ch = curl_init($file);
header('Content-type: '.$contentType);
header('Content-Disposition: attachment; filename="'.$filename.'"');
header('Content-length: '.$filesize);
readfile($file);
<?php $postUrl = 'https://tigerwoodsonline.ea.com/users/login'; $postData = array( 'login' => 'zaque.rasel@yahoo.com',
<form action="https://api.tropo.com/1.0/sessions?action=create"
<?php
$ch = curl_init("http://localhost/test.php");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);
curl_setopt($curl, CURLOPT_USERPWD, 'myuser:mypwd');
// sending username and pwd.
$URL:https://demo.firstach.com/https/TransRequest.asp?Login_ID=someit&Transaction_Key=somekey&Customer_ID=23&Customer_Name=Muhammad Naeem&Customer_Address=Address&Customer_City=city&Customer_State=HI&Customer_Zip=54000&Customer_Phone=--&Customer_Bank_ID=111111118&Customer_Bank_Account=12345678901234567890&Account_Type=Business Checking&Transaction_Type=Debit&Frequency=Once&Number_of_Payments=1&Effective_Date=12%2F05%2F2010&Amount_per_Transaction=10.00&Check_No=&Memo=&SECCType=WEB
#include "curl.h"
#include "easy.h"
size_t write_data(void *ptr, size_t size, size_t nmemb, FILE *stream) {
size_t written;
written = fwrite(ptr,