Show Process While Image Upload
I've coded for multiple Upload Image like gmail but now want to show to client that image is uploading and there should be a note for Wait Can anyone tell me that how to show that process image till image is uploading.
Thanks in advance.
Once again, dhaval, you have made a completely incoherent post that shows absolutely no work on your part.
Are you trying to have an upload bar showing the progress of each individual file? Or do you just want to have a moving image to reassure the client that his upload is taking place?
There are two ways to display the current progress for a image upload.
APC Cache has a method of doing here is a extensive guide from IBM on exactly how do to so
You may also use the PECL Package http://pecl.php.net/package/uploadprogress which works in the same way APC will
I want to show to client that Image is Uploading means in process
while we upload any image it shows one note "Please Wait Your Image is Uploading" or process circle.
You should try to do the work your self, at least try to use google mate.
google -> Tracking file upload progress + php or something..
not that hard.
Thanks for your replies
I've solved the problem
need to run java script's function
but there is another problem in uploaded image
in image folder it shows "Array File" and that file show only first image very strange:-/
and below is the code even also for Multiple Upload
<form method="post" action="<?php echo $_SERVER['PHP_SELF']?>" enctype="multipart/form-data">
<input type="file" name="txtFile" />
<input type="submit" value="Upload File" name="upload" onClick="getMessage()" />
<a href="#" onClick="getBox()">More</a>
echo "Image is upload Successfully";
echo "still remain something";
When you upload multiple files, $_FILES['txtFile']['name'] is an array, you will have to do $_FILES['txtFile']['name'] to retrieve 1 of the files' name.
I've already done it but the diff. is that i've stored in variable called $intCounter then pass the loop so that every file box can retrieve.
|All times are GMT. The time now is 08:41 AM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0