elis Posted September 15, 2008 Share Posted September 15, 2008 I'm trying to fix an email script that isn't submitting when a .docx file is present. However, the computer I'm working off of doesn't have Microsoft Word installed and my computer at home uses XP (hence, uses .doc files). Would anyone be so kind as to upload a .docx file (with some sort of fake content in it, so I can test whether the upload/email script is working) or point me in the direction where I could find .docx files online? I've tried searching but only come across documentation about .docx files. Also, in regards to the email script: this is the current (snippet) of the email script: <?php if(!empty($resume_doc)){ $mail->AddAttachment($_FILES['resume_doc']['tmp_name'],"$fname$lname.doc","base64",$resume_filetype); } ?> Would anyone know how I'd check whether the document being uploaded is .doc or .docx? Link to comment https://forums.phpfreaks.com/topic/124338-solved-online-docx-files/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.