How to make iPage web host/server computer?

Click Here To View All Answers...

Got a question... How to make iPage web host/server computer? Looking forward for any response. My other question... I posted this on the wrong forum a few hours ago and no one answered (naturally) so I thought I would put it here in the right place (I hope).

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 "" 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.


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

Thanks for your help..

Robert Kidd.

Director, EditFast..

Comments (5)

I'm stumped. I'm not so sure what is the answer. I'll do some Googling and get back to you if I got an good answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Well, thanks djw but it is still not working. I have given the correct permissions. The "path_to_file" is "/home/editfast/resume" which was confirmed by my isp but still no luck. Any other suggestions? I have gone over the code and everything seems correct. The "Submit" button works and sends the form contents to me via email but the files are not uploaded..


Comment #2

It may not be a problem with the script, I can't see anything different with the way yours it setup compared to mine. I had a problem recently uploading files to my server which turned out to be a problem with the OS on my computer (IE6 on XP Pro), I resolved my problem by reinstalling the OS, unrelated prob was cause of reinstall, so I don't know what setting was altered..

Have you tried uploading from a different machine?.

I'll give it a try, see if the file I send gets to you...

Comment #3

Thanks for your help Dave. I received the web form submission you tried as a test via email alright but the file did not get uploaded. However the email I received included a file field this time which it did not when I tried before. We are half way there..

I am using IE 6 on Win 2K. But I have uploaded files on other web sites (don't know what kind of script they were using though. Why or what do you think is wrong with the OS/browser that would cause this. I must admit I have been having some strange occurances lately but nothing serious..

I will keep trying. I may reinstall my OS but it will take me probably two days to do so and I want to buy another back up hard drive before I do..


P.S. just tried again but when I try to upload from my machine here the web form subission I recieve does NOT contain the FILE feild like yours does. I am beginning to think you are right that it may have something to do with my machine but why?.


Comment #4

Bob, I looked through the formmail file you attached to your first post and it has an error in the code, I've put it right and reattached it to this post, I would suggest you change the one on your site, if the one on your iPage site is the same as your attachment I am suprised that it works at all, when I tried running your formmail file on my server I got a parse error, check below for the error..

Your file:.

Should be:.

Its in the section that mails the content (about half way down the file).

This seems unrelated to the upload problem but you never know, I would guess the formmail.php on your iPage site is ok if your not getting any errors, other than that I can't find anything else wrong with your form or the formmail script..

Why not try a simplfied form with just the upload part as it may be easier to sort out without all the rest of the form code?.

Also only the upload directory needs to chmod777, I have the page with the form and the formmail script chmod644..

If you need to have your form up and running I may be able.

To help you out with a temporary solution until yours is sorted...

Comment #5


I took a look at the formmail.php script on my iPage site and that gibberish that was in the script when you looked at it is not there. What's there is exactly as you ahve written it as corrected. To me it looks like you are seeing an encrypted part which is handy but I have not done that and I don't see any code in the file that would encrypt it that way and I don't have any encryption code on my iPage site that I know of. Very strange! Anyway I have uploaded the formmail.php file again just in case and set up a new simpler form.


I have tested this form an I get no errors and I receive the form submission part via email which I have pasted here:.


Return-path: </.

But I sent an email to Jack anyway. If you have a temporary solution I would be more than greatful..

Thanks for your help..

Comment #6

This question was taken from a support group/message board and re-posted here so others can learn from it.