put "<input type="file" class="upload" name="fileX[]">"
Jim Ault
jimaultwins at yahoo.com
Sat Oct 23 11:39:39 EDT 2010
The upload script in this link refers to the "Upload Picture" sample
on Sarah's very cool site.
>> You can see a really good one at
>> http://troz.net/onrev/samples/showscript.irev?
>> showscript=upload.irev by
>> Sarah Reichelt.
>
Going to the corresponding sample page
http://troz.net/onrev/samples/upload.irev
and look at the bottom of the page, which has a link to the include
"tables.irev"
http://troz.net/onrev/samples/showscript.irev?showscript=includes/tables.irev
All the other includes are the header, menu, and footer for her web
site pages, which have nothing to do with file uploading.
Hope this helps,
Jim Ault
Las Vegas
On Oct 23, 2010, at 7:34 AM, Rick Harrison wrote:
> 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.
>>
>
More information about the use-livecode
mailing list