I have a form on a site that in addition to sending my attached documents in an e-mail to me also uploads that file to an “upload” folder (set to 777) on my server.
I have this site on two different host accounts for testing…
Host 1: PHP Version 4.4.9 – Linux
Host 2: PHP Version 4.3.11 – Linux
It works perfectly fine on host 1.
On host 2, it uploads the attached file to the root directory and not “upload” and when I receive the e-mail with the attached file, the file is blank (the document on my server, however, is not blank).
Are there common reasons why this may be happening that I can look into?
Both hosts have exactly the same files with the same content (except for the database details in the config file).
Thanks for your time. ?