[FX.php List] Uploading Files
Head Honcho
headhoncho at customikesolutions.com
Tue Nov 11 17:53:10 MST 2008
Hi William,
I agree with Dale.
Once a file is uploaded, I store the file name, type and path in a
text field and use that to allow downloading/access to these files
from the web.
I have also used a web viewer to allow the file to be viewed from
within FileMaker.
Hope this helps.
Regards
Michael Ward
--
Head Honcho
CustoMike Solutions
Member, FileMaker Business Alliance
Member, FileMaker Technical Network
FileMaker 7 Certified Developer
FileMaker 8 Certified Developer
FileMaker 9 Certified Developer
10 Wandoo Crt
Wheelers Hill, 3150
ph 0414 562 501
headhoncho at customikesolutions.com
On 12/11/2008, at 11:15 AM, Dale Bengston wrote:
> Hi William,
>
> On the web, it's preferable to leave the files in the operating
> system's file structure and reference them outside FileMaker.
> Instead, store any directory or subdirectory information in
> FileMaker and use that to create the download link.
>
> Hope this helps,
> Dale
>
> On Nov 11, 2008, at 5:52 PM, William Downs wrote:
>
>> Hi there,
>>
>> I have a web page that allows users to upload a copy of a word file
>> for approval (using html enctype="multipart/form-data" and php
>> move_uploaded_file) the file is moved into a sub-directory within the
>> project file. The sub directory is named after the unique ID of the
>> user.
>> After approval by admin staff, the file is then to become available
>> for download by the public.
>>
>> I am unsure if having the file in a sub directory is the best method.
>> I would prefer to have the file entered into a filemaker container
>> field - and then after approval make it somehow available.
>> Can someone give me some advice here - perhaps explain how to have
>> fx.php extract a file from a container file so a web user can
>> download
>> it ?
>>
>> FM Server 9 being used with IIS (yuk)
>>
>> Many thanks in advance
>>
>> William
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org
>> http://www.iviking.org/mailman/listinfo/fx.php_list
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list