|
Posted by Stefan Rybacki on 09/28/67 11:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Adam schrieb:
> Hello
>
> I am workning on an online store where, after the invoice page I need to
> implement a form that allows a customer to upload multiple images (.jpg or
> .gif extensions) to the server. Said form may be pre populated with their
> order info (Order #, name, email etc) or they may have to fill it out
> manually. That part isn't really important right now.
>
>
So if you just want to upload them use a multipart file form. After a
submit you get access to the files thru $_FILES, from there you can copy
them to a picture folder or similar.
> The important thing will be allowing them to upload multiple images through
> the browser and then when they are done, hit a final submit button which
> will send an email off to the store owner telling him the order info and
> most importantly, the filenames of the images that were uploaded in
> association with that order. Store owner will then ftp in to find the
> images, download and delete them.
Why don't you send them together with the email?
>
> Can someone point me towards the most important piece of this puzzle? That
> being a script to allow multiple image uploads from the same page where
> each file name can be held in a variable to be put in the email?
file uploads using forms
$_FILES
mail
several file functions of PHP, see manual
>
> Non-free solutions are fine. Don't mind paying for the things I need.
Regards
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
iD8DBQFEKJdTyeCLzp/JKjARApFIAJ9sn5ShQDdqWTueQ9n0bR/uUbKCFACfdHox
d6HTqk6GtaiGaGtdpX+u70Y=
=Jnxc
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|