Welcome to WebmasterWorld Guest from 54.159.214.27

Forum Moderators: coopster & jatar k & phranque

Server Side Include - File Upload and Send Mail

   
7:01 pm on Jul 10, 2010 (gmt 0)



I don't know how to write in pearl. I have a client that is a used car dealer and he wants to send me the photos and descriptions of his inventory.

I have a html file setup but I need a server side file to handle the data.

The file is located at www.kanemotors.com/update/index.html

I would like the server side to save the filename as image#a, image#b (the # being the corresponding number to the upload form section 1,2,3,or 4) also allowing multiple image#a and image#b filenames...

image1a-1, image1a-2, image1a-3, image1b-1, image1b-2, image1b-3

Is there an existing file to do what I want ?

I need Help
4:00 am on Jul 11, 2010 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], imagexposure!

how-to posts work better here if you describe the problem rather than asking people to visit the site.
this way if the page changes or the url is taken down, the thread here still has a helpful record for others to learn from far into the future.

i doubt you are going to find a script that does exactly what you are looking for so you will have to learn some of the basics of CGI [perldoc.perl.org] programming and modify an existing perl script.

i would suggest starting with a search of the perl script repositories such as HotScripts' CGI & Perl Script & Programs [hotscripts.com] or SourceForge's Perl Software Search [sourceforge.net].
look for scripts in the file upload or image gallery categories.

if you haven't already done so you will probably need to use a database as part of your solution.

you may also want to consider using a PHP [webmasterworld.com] script, rather than perl.
PHP seems to provide a lower barrier to entry.
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month