Uploading Image in PHP
Posted: Fri Oct 17, 2008 7:05 pm
I need to display the progress bar when uploading image without page reloading in PHP.
Can you please give me the idea for that ?
Can you please give me the idea for that ?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
thanks ! also need to show the image size, etc., without using CGI script. only use JS and PHP scripts , how can I do it ?aceconcepts wrote:Here's one example: http://www.dynamicdrive.com/dynamicinde ... essbar.htm
hmm... I want to get the image size when click the upload button, without page re-loading.Syntac wrote:getimagesize() should do the trick.
Get the image size before uploading image by using AJAX ?Syntac wrote:Just do an Ajax request to a PHP script that outputs the size of the image.
[EDIT] Oh wait... Is this happening before or after the file is uploaded?