View Full Version : Can't upload using Jack's FormMail.php

07-28-2002, 10:00 AM
I am trying to get the formmail.php script to upload files to my server but it doesn't seem to work. I think it is either a "permissions" issue or the value of the "path_to_file" hidden field.

I have set the permissions of all files concerned to 777: the upload directory, the html page that the form is on, the formmail.php directory and the file itself. I have tried every combination of permissions (I think) without success)The web form results are successfully sent to me via email but the file is not uploaded and there is no error message to indicate anything wrong.

I have tried setting the "path_to_file" value as "http://www.editfast.com/resume/" and "../resume/" and "/resume" and "/resume/" and "/www/resume/" and "/usr/resume" etc. etc. etc. all with no luck. Any ideas on what is going wrong here?

You can view the form at http://www.editfast.com/editjobs.htm

The actual fommail.php (changed to .txt) file is attached to this message

Thanks for your help.

Robert Kidd
Director, EditFast