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

Andre Garzia andre at andregarzia.com
Thu Oct 21 18:24:33 EDT 2010


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.



More information about the use-livecode mailing list