Results 1 to 10 of 74
Threaded View
-
8th Dec 2011, 04:05 PM #26Member
hi,
i try run test.php which have not edited yet exclude activeLog()
PHP Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script src="js/jquery.js"></script>
<script src="js/jquery.progressbar.min.js"></script>
</head>
<body>
<?php
ini_set('error_reporting', E_ALL);
ini_set('display_errors', 1);
include 'CurlAxel.php';
//$fileurl = "http://cachefly.cachefly.net/100mb.test";
//$fileurl = "http://93.190.137.8/1000mb.bin";
$fileurl = "http://www.anggaran.depkeu.go.id/peraturan/Perdirjen_Anggaran03_2011%20-%20JuklaksunlahSBK2012.pdf";
echo "downloading $fileurl <br>";
$curlaxel = new CurlAxel;
$curlaxel->setUrl($fileurl);
$curlaxel->activeLog();
$curlaxel->setProgressCallback();
$curlaxel->setBufferSize(32*1024*1024);
$curlaxel->activeLog(true);
$curlaxel->download();Code:downloading http://www.anggaran.depkeu.go.id/peraturan/Perdirjen_Anggaran03_2011%20-%20JuklaksunlahSBK2012.pdf Warning: Missing argument 1 for CurlAxel::activeLog(), called in C:\xampp\htdocs\curl\test.php on line 19 and defined in C:\xampp\htdocs\curl\CurlAxel.php on line 133 Notice: Undefined variable: is in C:\xampp\htdocs\curl\CurlAxel.php on line 134 Warning: Missing argument 1 for CurlAxel::setProgressCallback(), called in C:\xampp\htdocs\curl\test.php on line 20 and defined in C:\xampp\htdocs\curl\CurlAxel.php on line 214 Notice: Undefined variable: is in C:\xampp\htdocs\curl\CurlAxel.php on line 215
and the most important , i dont see progress bar from jquery.
i also change to $curlaxel->setProgressCallback(true); but it still not work.
this is the log.txt
Code:* About to connect() to www.anggaran.depkeu.go.id port 80 (#0) * Trying 202.137.230.82... * connected * Connected to www.anggaran.depkeu.go.id (202.137.230.82) port 80 (#0) > GET /peraturan/Perdirjen_Anggaran03_2011%20-%20JuklaksunlahSBK2012.pdf HTTP/1.1 Host: www.anggaran.depkeu.go.id Accept: */* < HTTP/1.1 200 OK < Content-Length: 292896 < Content-Type: application/pdf < Last-Modified: Wed, 01 Jun 2011 19:39:29 GMT < Accept-Ranges: bytes < ETag: "2843879f9320cc1:587" < Server: Microsoft-IIS/6.0 < X-Powered-By: ASP.NET < Date: Thu, 08 Dec 2011 16:01:38 GMT < * Connection #0 to host www.anggaran.depkeu.go.id left intact * Closing connection #0
anyway ,thanx, i like this apps
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
download file???
By q295516594 in forum Webmasters, Money MakingReplies: 0Last Post: 3rd Oct 2011, 03:10 PM -
Download Accelerator with Rapidleech
By CuraHack in forum Web Development AreaReplies: 10Last Post: 28th Aug 2011, 03:53 PM -
Why it's not download the file?
By ChaoscripT in forum Web Application/Script SupportReplies: 6Last Post: 13th Aug 2011, 04:03 PM -
Which File host will count download with jdownloader or download manager?
By vonomono in forum File Host DiscussionReplies: 8Last Post: 11th Dec 2010, 12:52 AM
themaLeecher - leech and manage...
Version 5.04 released. Open older version (or...