Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. // callback handler called on success
  2. request.done(function (response) {
  3. $('#add--response').html(response);
  4. });
  5.  
  6. $count=0;
  7. foreach ($_POST['URLS'] as $url) {
  8.  
  9. if(!empty($url)){
  10.  
  11. echo 'whatever';
  12.  
  13. if (<here I download a file that takes a long time>)
  14. {
  15. echo '<div id="conversionSuccess">here is the progress bar for the download</div>';
  16.  
  17. }
  18. else
  19. {
  20. echo 'Error!';
  21. }
  22. $count++;
  23. echo "count: ".$count."<br>";
  24.  
  25.  
  26. }
  27. }
  28.  
  29. $response = "";
  30. $response .= $outputOne . "/";
  31. $response .= $outputTwo . "/";
  32. echo $reponse;
  33.  
  34. var output = reponse.split("/");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement