Discussion:
PHP Form w/document upload and status
Joey J
2014-01-23 18:38:40 UTC
Permalink
Hello All,

I'm trying to find open source code which is a form with upload script
allowing a user to fill in some fields of data, then pick a couple of
documents to upload and finally submit the form.
The status bar will show progress insuring the user doesn't click out and
close the browser etc allowing the documents to upload. Once completed it
then emails the form results and the attachments to the predetermined email
address.

Any help appreciated.

Thanks!
--
Thanks!
Joey
John Meyer
2014-01-23 18:50:11 UTC
Permalink
Post by Joey J
Hello All,
I'm trying to find open source code which is a form with upload script
allowing a user to fill in some fields of data, then pick a couple of
documents to upload and finally submit the form.
The status bar will show progress insuring the user doesn't click out and
close the browser etc allowing the documents to upload. Once completed it
then emails the form results and the attachments to the predetermined email
address.
Any help appreciated.
Thanks!
Google "php curl"
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Aziz Saleh
2014-01-23 18:56:59 UTC
Permalink
What you are looking for is a file upload with progress bar. There are a
ton of scripts out there, but nothing I can recommend for lack of usage in
a while.

https://www.google.com/search?q=file+upload+progress+bar&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

Aziz
Post by Joey J
Hello All,
I'm trying to find open source code which is a form with upload script
allowing a user to fill in some fields of data, then pick a couple of
documents to upload and finally submit the form.
The status bar will show progress insuring the user doesn't click out and
close the browser etc allowing the documents to upload. Once completed it
then emails the form results and the attachments to the predetermined email
address.
Any help appreciated.
Thanks!
--
Thanks!
Joey
Phred White
2014-01-23 19:18:21 UTC
Permalink
When I last did this, you had to use Alternate PHP Cache (APC) which may or may not be installed on servers. The almost ubiquitous Suhosin patch prevented the APC from providing the incremental updates reliably, so many servers will not do this even though they have APC available. The one other alternative was to use Flash which has some limitations (especially for large files, especially on Macs/Safari).

In the modern era, I think there is a new PHP infrastructure for this via "Session Upload Progress". In your search for code, I would look for something exploiting this newer approach.

Phred
Post by Aziz Saleh
What you are looking for is a file upload with progress bar. There are a
ton of scripts out there, but nothing I can recommend for lack of usage in
a while.
https://www.google.com/search?q=file+upload+progress+bar&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
Aziz
Post by Joey J
Hello All,
I'm trying to find open source code which is a form with upload script
allowing a user to fill in some fields of data, then pick a couple of
documents to upload and finally submit the form.
The status bar will show progress insuring the user doesn't click out and
close the browser etc allowing the documents to upload. Once completed it
then emails the form results and the attachments to the predetermined email
address.
Any help appreciated.
Thanks!
--
Thanks!
Joey
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Joey J
2014-01-23 20:24:08 UTC
Permalink
Thanks to Aziz, Phred and John.

I goggled it and tried 3 or 4 of the results without success which is why I
submitted to the list hoping someone did this already or used something out
there that they could recommend.
I was even looking at some purchase solutions where you buy the code
because there are security considerations and many little details that
should be addressed in order to do it right.
Post by Phred White
When I last did this, you had to use Alternate PHP Cache (APC) which may
or may not be installed on servers. The almost ubiquitous Suhosin patch
prevented the APC from providing the incremental updates reliably, so many
servers will not do this even though they have APC available. The one other
alternative was to use Flash which has some limitations (especially for
large files, especially on Macs/Safari).
In the modern era, I think there is a new PHP infrastructure for this via
"Session Upload Progress". In your search for code, I would look for
something exploiting this newer approach.
Phred
Post by Aziz Saleh
What you are looking for is a file upload with progress bar. There are a
ton of scripts out there, but nothing I can recommend for lack of usage
in
Post by Aziz Saleh
a while.
https://www.google.com/search?q=file+upload+progress+bar&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
Post by Aziz Saleh
Aziz
Post by Joey J
Hello All,
I'm trying to find open source code which is a form with upload script
allowing a user to fill in some fields of data, then pick a couple of
documents to upload and finally submit the form.
The status bar will show progress insuring the user doesn't click out
and
Post by Aziz Saleh
Post by Joey J
close the browser etc allowing the documents to upload. Once completed
it
Post by Aziz Saleh
Post by Joey J
then emails the form results and the attachments to the predetermined
email
Post by Aziz Saleh
Post by Joey J
address.
Any help appreciated.
Thanks!
--
Thanks!
Joey
--
Thanks!
Joey
Loading...