Jason Barker Posted May 17, 2004 Posted May 17, 2004 I'm just wondering if this is a possibility (and if so, how to do it)...Is it possible to use a FileMaker database that can hold images which can be uploaded via the web as well as viewed in web pages from the database? If it is where should I go to find help with the code/syntax? Thanks, Jason
Garry Claridge Posted May 17, 2004 Posted May 17, 2004 For Custom Web Publishing we generally have the images stored externally from the database. In the database we will have a filename. The path can then be constructed with CDML. The "CDML Reference" database shows how to display images. All the best. Garry
Newbies Skolnick Posted May 17, 2004 Newbies Posted May 17, 2004 http://www.cnsplug-ins.com/products.htm?product=UPLOADit The plugin UPLOADit will upload JPG and GIF files to FileMaker 6 and 7.
Garry Claridge Posted May 18, 2004 Posted May 18, 2004 You can also use PHP to upload files and update an FM database. All the best. Garry
Garry Claridge Posted May 18, 2004 Posted May 18, 2004 Here is an example of how to do file uploads and access an FM database with PHP. First the form: <body> <form action="uploadtest.php" method="post" enctype="multipart/form-data"> <input type="file" name="myfile"> <input type="submit" value="Upload"> </form> </body> </html> Second the PHP file: <body> <?php $file_name = $_FILES['myfile']['name']; move_uploaded_file($_FILES['myfile']['tmp_name'], "/Volumes/Data/" . $_FILES['myfile']['name']); readfile ("http://10.0.1.2:1154/FMPro?-db=combotest.fp5&-lay=web&-format=hworld.html&name=" . $file_name . "&-new"); ?> File Uploaded </body> </html> The 'hworld.html' format file can contain whatever you like. Hope this is of interest. Garry
Recommended Posts
This topic is 7486 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