thierry.be Posted August 20, 2002 Posted August 20, 2002 Hello, Yes,yes , I am going to ask a question that is already been asked before, yet for a beginner like me I wasn't able to find a complete answer. When you make a simple browser based FM database, and you want users to be able to download / upload files (Word, pdf, indesign, photoshop) this seems quite difficult to accomplish. - I have read that FM alone can't provide this - But 'Total upload' from Direct Dual limited provides an easy solutions, but this is for Windows users only. - Other solutions where use ASP, Webstar, and other web server programs. But unfortunately I have no experience what so ever with either of these. Is there anyone that has accomplished this? Knows what the easiest way of accomplishing this is? Can help me , How do I link Filemaker with ASP, what code do I write in ASP etc. ? Hope somebody can help me, Thanks anyway, Thierry
Garry Claridge Posted August 20, 2002 Posted August 20, 2002 Are you using Mac OS X? If so, you can use PHP. If you have OS X Server PHP is installed, if not you can download and install it quite easily. All the best. Garry
thierry.be Posted August 20, 2002 Author Posted August 20, 2002 Garry, Thank you for your reply, yet PHP seems difficult and I don't know for sure PHP can help me accomplish my goal. I have been looking on the internet on some PHP sites, And I came accross some manuals, but none of them combines Filemaker with PHP. With the exception of iViking. FX.php??? So I have no idea of how to start making this. Second problem is that people told me that you cannot use a container field on a webbased database. - Could you explain (in easy words) how to combine PHP with Filemaker. - Are you sure the following can be accomplished. Attach a word document to a record in Filemaker database. Through a Web browser download the file, make changes and upload the word file and attach it to the same record. Hope you can enlighten me, Thanks anyway, Thierry
Keith M. Davie Posted August 20, 2002 Posted August 20, 2002 "Second problem is that people told me that you cannot use a container field on a webbased database." Not so. Please examine the sample file at http://www.fmforums.com/threads/showflat.php?Cat=&Board=files&Number=41455&page=0&view=collapsed&sb=5&o=&fpart=1 It demonstrates serving a picture from a container field. I would point out that this eats a lot of db space and is not the best way to store images, but it can be done.
thierry.be Posted August 20, 2002 Author Posted August 20, 2002 Thanks Keith, I will have a look, yet this is all very new to me,... If I understand correctly only pictures, sounds and videos can be put in a container, but what about pdf, doc, etc. Again if someone can help me with PHP please do i found some scripts for uploading files: http://www.php.net/manual/en/features.file-upload.php yet i have no idea of how to do this. Keep in mind I am relativly new to all of this, so a lot of explanation (even if it seems logic to you) is very much appreciated. I can make a basis database (instant web puplishing). Yet I don't have experience with, CDML & PHP. Useful tips welcome, Thanks again, Thierry
Anatoli Posted August 20, 2002 Posted August 20, 2002 You have to first separate your questions and problems and concepts. You can put and get lot of things in FM fields, but you cannot post anything into containers. You can store links to files on any web server in FM. You can let users to upload something to web server, but it has nothing to do with FileMaker. So it is NOT question of php AND FileMaker. It is e.g. how to upload files to the web server. HTH
Garry Claridge Posted August 20, 2002 Posted August 20, 2002 If all of the client computers are Mac and you are on an intranet you could do this with Applescript only. I will write a PHP example later today. However, I do not use 'Container' fields, just a filename, hence I can construct a path to the file. All the best. Garry
spcalia Posted August 21, 2002 Posted August 21, 2002 I put an example of how to do this in perl in the upload & PHP thread.
david s Posted August 29, 2002 Posted August 29, 2002 Sorry but i didn't understood what kind of server you have. Anyway if it can be of help: I had the same problem with a db on win2000 server. I've found a software called: "aspupload" (do a search on google), it's commercial. It does exactly what you want to do with a little of asp programming (but you find all the examples). I called a calculated field in the db "image": it gest the name automatically from the aspupload software and add a ".gif" extension. If your server is a win server i can give you more detail, if it's not hope you'll find your solution. Bye bye David
Recommended Posts
This topic is 8114 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now