Results 61 to 70 of 74
-
8th Dec 2011, 04:05 PM #61Member
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
-
10th Dec 2011, 03:06 PM #62OPMemberWebsite's:
tehMoviez.com 0Senes.com GeekFaceGames.comsorry i forgot to update test.php
i've just pushed the changes, tested it again and works perfect. try it now.
JokerHacker Blog
JokerHacker PHP coding Service // back again!
CurlAxel PHP Download Accelerator
hardly remembering the milk :p
-
14th Dec 2011, 06:17 AM #63Member
This class is great
Keep the great work
i will try to add to rapidleech script .
And I WILL ADD UR NAME.
Regards
MHR (Maher Ghoul)
-
19th Dec 2011, 07:47 PM #64Member
nice job guys.
really amazing php class
but, i dont know why progress bar not work normally
1st tried: finish 80%
2nd tried: finish 40%
3th tried: finish 42%
4th tried: finish 100%
5th tried: finish 20%
this happen both on less than 5mb and 5mb++ (slow_download and fast_download)
i modified your script like this to know the basic of progress bar
http://www.mediafire.com/?sb23aqhspsa1hv9
these are the result of slow_download(), fast_download() and my script
so, the problem is, progress bar didn't work fine, although the file is 100% downloaded.
i so confused about this, because if i look for the source in my browser (firefox) the progressBar() is called from 1 until 100, but the progressbar still shown on 63%. have i did something wrong?
and the second,
i dont know why my browser is like hang up before progress bar has shown up.
sorry 4 my english.
i hope u can understand what i meant.
anyway, i like your class
-
19th Dec 2011, 09:37 PM #65OPMemberWebsite's:
tehMoviez.com 0Senes.com GeekFaceGames.comi've noticed this issue, but honestly, with my limited experience with jquery icouldn(t solve it properly, but i'm working on it
JokerHacker Blog
JokerHacker PHP coding Service // back again!
CurlAxel PHP Download Accelerator
hardly remembering the milk :p
-
20th Dec 2011, 06:25 AM #66Member
doesnt matter, may be still callback issue only.
but at most this class is very awesome for single file download.
thanx for this
-
20th Dec 2011, 07:46 AM #67Member
solved
change $progress
into
PHP Code:$progress = create_function('$download_size, $downloaded, $upload_size, $uploaded','static $sprog = 0;
@$prog = ceil($downloaded*100/$download_size);
echo \'<script>$("#'.$pb.'").progressBar(\'. $prog. \');</script>\';
');
download first file >> wait until finish (progress bar show) >> finish >>
download second file >> wait until finish (progress bar show) >> finish >> .....
is very nice see the basic of your work , awesome class
now, i ask u permission to use this class for my apps. may i have this?
cehhms@yahoo.com
-
20th Dec 2011, 09:16 AM #68MemberWebsite's:
proxy-vpn.comPlease i have a problem
Notice: Use of undefined constant CURLOPT_PROGRESSFUNCTION - assumed 'CURLOPT_PROGRESSFUNCTION' in /**************/CurlAxel.php on line 352
Notice: Use of undefined constant CURLOPT_PROGRESSFUNCTION - assumed 'CURLOPT_PROGRESSFUNCTION' in /**************/CurlAxel.php on line 352
Notice: Use of undefined constant CURLOPT_PROGRESSFUNCTION - assumed 'CURLOPT_PROGRESSFUNCTION' in /**************/CurlAxel.php on line 352
Notice: Use of undefined constant CURLOPT_PROGRESSFUNCTION - assumed 'CURLOPT_PROGRESSFUNCTION' in /**************/CurlAxel.php on line 352
Notice: Use of undefined constant CURLOPT_PROGRESSFUNCTION - assumed 'CURLOPT_PROGRESSFUNCTION' in /**************/CurlAxel.php on line 352
-
20th Dec 2011, 01:01 PM #69Member
what have u did before?
did u try to change my own $progress to curAxel.php $progress directly?
-
20th Dec 2011, 03:21 PM #70OPMemberWebsite's:
tehMoviez.com 0Senes.com GeekFaceGames.comshare4free, please show me the version of CurlAxel you are using
darkslayer, put a pull request in github, you have the absolute right to use it in your appJokerHacker Blog
JokerHacker PHP coding Service // back again!
CurlAxel PHP Download Accelerator
hardly remembering the milk :p
Sponsored Links
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
themaCreator - create posts from...
Version 3.47 released. Open older version (or...