is doing my head in!!!
I have a form to upload a photo (enctype="multipart/form-data")
On the action, $uploadedfile_name is ok, but $uploadedfile_type is blank.
I've tried the scripts on another server, and it works fine.
Additionally, copy ($uploadedfile, "uploadedphotos/$inputfile_name") seems to put the file on the server.
However, when called via img src, it comes up as though image doesn't exist. Comparing file sizes etc,
it seems the uploaded copy is slightly larger than the original.
Any ideas as to what's going on with it?
Please?
(I'm also having a problem with sendmail refusing to send HTML emails - in fact, refusing to change
any of the email headers... maybe these are related?)
Cheers,
David