Jump to content
Larry Ullman's Book Forums

enembee

Members
  • Posts

    3
  • Joined

  • Last visited

enembee's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I think it must be the file itself, I just created it in notepad and saved it with the .rtf extension. I found a sample rtf file online and that works fine. I got this result in Chrome, Firefox, and IE.
  2. Hi, apologies for the slow reply. I have printed the file type that is being uploaded with the error message and it is coming back as: text/plain The file is showing up as Rich Text Document in Windows Explorer with the .rtf extension. Is the problem here with the file itself or my IF statement which is looking for a text/rtf file?
  3. I've been having some trouble with this particular script as it will not accept that the file I am trying to upload is an RTF file. I have used both my own version of the script and the version from the official answers that I downloaded from this site. I am running PHP version 5.5.5 and the script is going to the invalid file type section of the IF statement. The file I am trying to upload has the .rtf extension as I understand is required, has anyone else had this problem?
×
×
  • Create New...