Sam Laundon Posted August 5, 2002 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
Keith M. Davie Posted August 5, 2002 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"?
Sam Laundon Posted August 5, 2002 Author 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.
Garry Claridge Posted August 5, 2002 Posted August 5, 2002 With OS X Server, a PHP solution should exist somewhere! Check the PHP sites. Good Luck. Garry
Garry Claridge Posted August 6, 2002 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
Recommended Posts
This topic is 8215 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