Image uploading

General discussion on PHP

Image uploading

Postby aegidius on Thu Aug 16, 2012 11:04 am

Hello :)

I have to make a form to upload several images. I can't do it in a single standard form because the files can be very big and the form submitting can result too slow. I think about ajax, to upload a file to server and then fill the form with the path of the temporary file.

What do you think of this solution? Do you know better solution?

Thank you :)

Egidio
aegidius
 
Posts: 16
Joined: Thu Aug 18, 2011 11:24 am

Re: Image uploading

Postby lamerko on Tue Sep 11, 2012 9:36 am

You can use the "Session Upload Progress" - http://www.php.net/manual/en/session.upload-progress.php.
lamerko
 
Posts: 1
Joined: Tue Sep 11, 2012 8:42 am

Re: Image uploading

Postby aegidius on Tue Sep 11, 2012 9:43 am

It looks great. I'm gonna check it.

Thank you.

Egidio
aegidius
 
Posts: 16
Joined: Thu Aug 18, 2011 11:24 am


Return to PHP

Who is online

Users browsing this forum: No registered users and 1 guest