gilep has asked for the wisdom of the Perl Monks concerning the following question:
Hello,
I am trying to set up a site to design calendars using my users' pictures. In order to do that I have built a form that users can attach files to it and send it to my server (using form2mail CGI script attached below). It works well but only for small files. For large files (I need to upload up to 13 files, each can be up to 5 Mb) it crashes after an hour and no files are saved. My host replied to me that there is a timeout on the server that they do not wish to increase.
Since the script works well for a single large file, my idea is to call it several times, and each time asks it to handle and upload only a single file. However, I want my users to fill the form and insert the names of the files they want to upload only once. So after the script is called the first time by the form, I need a way to call another script again (automatically, without user's intervention) and to pass the file names collected by teh first script to it. Since the script ends with calling an html thank you page, I though of using this page to call the second script using
<meta HTTP-EQUIV="REFRESH" content="0; url=http://gilep.netfirms.com/cgi-bin/gilepf2mcalendar.pl">
This command does eth job but again I have no idea how to pass the information from one script to the other.
The file names are stored in my @file_upload_fields.
BTW, I have no programming expertise what so ever.
Thanks for any help related to these issues.
Thanks,
Gil
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Passing Data from One Script to Another
by CountZero (Bishop) on Jul 30, 2008 at 22:04 UTC | |
Re: Passing Data from One Script to Another
by MidLifeXis (Monsignor) on Jul 30, 2008 at 21:48 UTC | |
Re: Passing Data from One Script to Another
by injunjoel (Priest) on Jul 30, 2008 at 22:43 UTC |
Back to
Seekers of Perl Wisdom