Sam Laundon 0 Posted August 5, 2002 Has anyone out there found a solution to being able to upload a file. I am serving my web page with Mac OS X Server. I would like a solution that allows a FMPro form to be filled out and after being submitted the user would be taken to a upload page where a token would be carried over to a form field they had filled out in the form and then they would be able to upload up to 3 files. Thanks in advance for your help Quote Share this post Link to post Share on other sites
Keith M. Davie 0 Posted August 5, 2002 Complex question. Partial answer. Form is submitted through an action tag (-new, -edit) and results page (-format=results.htm) is displayed. One possibility might be that format file results.htm contain a conditional along the lines (could be a bit more complex than this, use as a guide only) [fmp-if: token .eq. fieldname] Display files which can be downloaded including download links [fmp-else] Sorry, but you can't go there. Click this button to complete the necessary form <a button with an a href> [/fmp-if] Now what do you mean, "being able to upload a file"? Quote Share this post Link to post Share on other sites
Sam Laundon 0 Posted August 5, 2002 Thanks for you answer Keith. What I mean by "upload file" is: my clients send me photos that we retouch. I would like them to be able to upload jpg photos. I know this can't be done through FMPro, but I was hoping someone had a good cgi or php solution to this problem. Thanks again. Quote Share this post Link to post Share on other sites
Garry Claridge 0 Posted August 5, 2002 With OS X Server, a PHP solution should exist somewhere! Check the PHP sites. Good Luck. Garry Quote Share this post Link to post Share on other sites
Garry Claridge 0 Posted August 6, 2002 Here is the URL for how to do file-uploads with PHP: http://www.php.net/manual/en/features.file-upload.php All the best. Garry Quote Share this post Link to post Share on other sites