put "<input type="file" class="upload" name="fileX[]">"

Rick Harrison harrison at all-auctions.com
Sat Oct 23 10:34:25 EDT 2010


Hi Andre,

I've looked at Sarah's code for this, unfortunately
it also has a lot of includes, and without access to
those includes it is difficult to see all of the code. :-( 

Other than that it looks nice.

Thanks,

Rick

On Oct 21, 2010, at 6:24 PM, Andre Garzia wrote:

> I am not sure about that name=FileX[]
> 
> but file uploading require more than that. It requires:
> 
> action="POST" and enctype="multipart/form-data" on the form tag.
> 
> After that you will need a MIME enclosure decoder to extract the file out of
> the MIME envelope that is sent to you by the browser.
> 
> You can see a really good one at
> http://troz.net/onrev/samples/showscript.irev?showscript=upload.irev by
> Sarah Reichelt.
> 
> 
> 
> On Thu, Oct 21, 2010 at 12:10 PM, Rick Harrison
> <harrison at all-auctions.com>wrote:
> 
>> This line allows one to search their hard-drive
>> for a file to upload to a server.
>> 
>> Now I just need the magic code to process and
>> submit the information for the upload to the On-Rev
>> server.
>> 
>> Anyone have experience using this method?
>> 
>> Thanks,
>> 
>> Rick
>> 
>> 
>> 
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>> 
> 
> 
> 
> -- 
> http://www.andregarzia.com All We Do Is Code.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

__________________________________
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on the iTunes Store Now!

To visit the iTunes Store now to listen to samples of my CD please click on the
following link.  (Please note you must have iTunes installed on your computer for this link to work.)  

http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290





More information about the use-livecode mailing list