Part I
>>I would like an opening html page that would allow me to let people uplaod a max of 10 photos files into specified folders.(I can design the web page)
eg.
var/www/html/cgi-script/photouploader/photos/8_10
var/www/html/cgi-script/photouploader/photos/4_6
etc. Thus the folder would be under sub-directory photos. These folders could be definded in admin or in the cgi-script setup.
>I need to be able to disable the program in admin. Thus while disable, the program needs to redirect to another web html page.(I will make the web page design)
>Email me that someone has uploaded something into one of the folders(8_10, 4_6){I would like to be able to have this in admin, so I can change the email addresses. I also need it to carbon copy to one additonal email address}
>When the files are uploading I need a status bar showing client that something is happening.
>After order is complete automatically send a conformation
>In the admin I would like to be able to set the allowable file size and type of file. eg tif, jpeg, bmp 6meg.
This parameter is for all the folder, not each one.
(Thus 8_10 Folder and 4_6 folder would be allowed tif, jpeg, bmp no greater than 6 megs.
The above should be pretty straight forward.
Part II
This part I am open to suggestions. I want to save money, so I figured I don't need a full shopping cart program. But you might have other ideas.
>Basically I need a log file and a payment file I can download when I retreive the above images from the server.(I plan on using ftp to retreive the folder and files, thus I don't believe you will need to set anything up.
I need a flat field text file in a folder var/www/html/cgi-script/photouploader/photos/log
The information will look like this:
nick,brown,725 Buchanan, Albany, CA, 92507, 4809234233,webmaster(at)[login to view URL], 8x10, 5(qty),$5.00,1.94(sales tax),$26.94,1/5/02,10:30am
Betty,Doeb,744425 Buchanan, New York, NY, 94407, 4809234233,Betty(at)[login to view URL], 4x6, 2(qty),$2.00,$1.24(sales tax),$5.25,1/5/02,11:40am
etc..(record for each uploaded item)
>The payment file:
This is where I need help. It would not be wise to leave a text file in an html folder. Thus maybe the cgi-bin. This file will be downloaded at the same time as the other folder and files. This will happen on a daily bases. Both the log file and payment file will be cleared on the server to a blank file.
>The information I need is Name, email, total,shipping cost, payment method, credid card number, exp date
Both the the payment file and log file will be imported into excel or a database program.
I do not see more than 5 item prices (8_10=$5.00)
I think that does it. All should be straight forward except for the payment file.
If you have suggestion of other methods I would be open in hearing them. Thus, it well save me money and you time.
See attached gif for a rough look of opening uploader page.
Thanks for your time
Edward