PDA

View Full Version : Email attachment help


anignatup
06-29-2007, 05:04 PM
Flash attachment:

I have the file uploaded in a folder in Domain1.com and when I click the send button it loads the variables from Domain1.com > DomainTwo.com (where my phpattach email script is located) and send the attach file (uploaded file in the folder located in Domain1) to my email.

On my email it attaches the correct uploaded file BUT its 0Kb. When I check the folder on Domain1.com The file is uploaded properly and its not 0Kb.

I added a crossdomain policy file, but it would only attach the file with 0kb on my email.

On the Domain1.com, the folder isn't chmod to 0777. Could that be the cause why its sending the correct filename but 0KB?

Also, I can't change the permission on that folder because the admin wouldn't let me. He said once that folder is set 0777 hackers can do anything to it? I tried to convince him, its just 1 folder how bad can that be?

Is there anyway around this problem?

Does anyone know if its bad to make 1 directory on the root and chmod it to 0777?

Thanks in advance