0

I used this page for making upload progress bar. I downloaded it and uploaded it to the server (you can see it here), and I signed up to Google Maps API and I pasted the code, but it doesn't work. It uploads the file, but it doesn't write the upload progress. Can somebody help me?

Edited by ivan3510: mistake

2
Contributors
3
Replies
5
Views
6 Years
Discussion Span
Last Post by ivan3510
0

I found a mistake: apc_fetch(). (here's code:

<?php
if(isset($_GET['progress_key'])) {

  $status = apc_fetch('upload_'.$_GET['progress_key']);
  echo $status['current']/$status['total']*100;

}
?>

This returns this: Fatal error: Call to undefined function apc_fetch() in /home/a9563441/public_html/proba/getprogress.php on line 4
Is it possible to replace it with something?

0

This is on the internet, and I can't put it on the internet. (anyway thanks) Any other solution?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.