Hello ALL
I’m not expert at this but I have found a way for my customer to upload a image file to me after they have paid.
I copied and pasted the script from index.htm to my catalog/includes/languages/english/html_includes/ define_checkout_success.php
Saved the files sendpic and loader.gif to both the root dir and the catalog/includes/languages/english/html_includes
I tryed to insert the code but i couldn't get the php to show. you can downlond the scripts at
php-scripts-free.com/index.php?action=freescripts&script=AndyFileUploader
Installation-Guide:
It's very easy to install AndyFileUploader. Please keep to the steps as descriped:
1. Please open the file sendpic.php with a text-editor and change '[email protected]'
at top of the file to your e-mail-adress.
The variable $folder is filled in with 'files'. If you wish to save the pics in another folder,
you'll have to change 'files' with the name of this folder. Please use a subfolder of the folder
where you run AndyFileUploader.
Nothing more needs to be changed in this file.
2. The index.htm file contains the basic html- and javascript-code. When a user submits the form,
this code calls the file sendpic.php, so both files need to be in the same folder. But
you can rename the file index.htm or just copy the code into another html-file without any problems.
3. Please open your preferred ftp-programm and upload both files onto your server. Please
use ASCII-mode for the files "index.htm" (or another html-file where you have copied the code of AndyFileUploader into) and
the file sendpic.php. Please upload the file 'loader.gif' into the same folder, using Binary-Mode (you can, of course, later
choose another gif-file of your choise, but please name it the same (loader.gif)..
4. Please create a subfolder 'files'. Please change the permissions for this
subfolder to 0777 (owner-others-world: read-write-execute)
That was it. Your visitors should be able to send you files (jpg- and gif-files) now (size limited to about 200 KB):
The files you visitors upload will be saved in the folder and sent to you via e-mail. Additionally, a thumb
of the pics will be saved as well in the folder and shown to your visitor after uploading the file.




